Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00498/0.00498, allocations: 96.31 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 196.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 278.8 kB / 290.8 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9626/0.9626, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 99.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1699, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5576/0.7275, allocations: 193.8 MB / 0.9557 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009501/0.7371, allocations: 5.154 MB / 0.9607 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.7386, allocations: 47.69 kB / 0.9608 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.7406, allocations: 0.8119 MB / 0.9616 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006536/0.7472, allocations: 2.598 MB / 0.9641 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.7504, allocations: 1.109 MB / 0.9652 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003623/0.7541, allocations: 2.609 MB / 0.9677 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.7554, allocations: 0.8923 MB / 0.9686 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.7574, allocations: 1.09 MB / 0.9697 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.7585, allocations: 0.9494 MB / 0.9706 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.7586, allocations: 76 kB / 0.9707 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003223/0.7618, allocations: 1.777 MB / 0.9724 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003865/0.7622, allocations: 438.5 kB / 0.9728 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006066/0.7629, allocations: 0.6371 MB / 0.9734 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00301/0.7659, allocations: 2.182 MB / 0.9756 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.7659, allocations: 8 kB / 0.9756 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7659, allocations: 0 / 0.9756 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.861e-05/0.7659, allocations: 0 / 0.9756 GB, free: 12.47 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004494/0.7704, allocations: 1.967 MB / 0.9775 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.7705, allocations: 19.97 kB / 0.9775 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/0.7742, allocations: 0.6662 MB / 0.9782 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.7758, allocations: 0.9538 MB / 0.9791 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/0.7758, allocations: 69.98 kB / 0.9792 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.776, allocations: 84 kB / 0.9792 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/0.779, allocations: 1.478 MB / 0.9807 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.7791, allocations: 3.938 kB / 0.9807 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-05/0.7792, allocations: 39.98 kB / 0.9807 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.668e-05/0.7792, allocations: 45.98 kB / 0.9808 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003962/0.7832, allocations: 1.514 MB / 0.9822 GB, free: 5.441 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007117/0.7903, allocations: 5.492 MB / 0.9876 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003708/0.7941, allocations: 1.288 MB / 0.9889 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.7957, allocations: 0.6552 MB / 0.9895 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000809/0.7965, allocations: 0.5773 MB / 0.9901 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001819/0.7983, allocations: 0.7189 MB / 0.9908 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 3.677e-06/0.7984, allocations: 0 / 0.9908 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.005505/0.8039, allocations: 1.883 MB / 0.9926 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.8039, allocations: 64.05 kB / 0.9927 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.8056, allocations: 1.235 MB / 0.9939 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.996e-05/0.8057, allocations: 41.7 kB / 0.9939 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004742/0.8061, allocations: 0.5878 MB / 0.9945 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.8064, allocations: 293.6 kB / 0.9948 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/0.8067, allocations: 182.6 kB / 0.9949 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8069, allocations: 337.9 kB / 0.9953 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.8084, allocations: 0.5367 MB / 0.9958 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.8103, allocations: 0.8258 MB / 0.9966 GB, free: 6.168 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003305/0.8136, allocations: 1.324 MB / 0.9979 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.8136, allocations: 8 kB / 0.9979 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003985/0.8176, allocations: 1.496 MB / 0.9994 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.8176, allocations: 11.94 kB / 0.9994 GB, free: 3.219 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.8177, allocations: 4.875 kB / 0.9994 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.8177, allocations: 16 kB / 0.9994 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.8191, allocations: 291.8 kB / 0.9997 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/0.8191, allocations: 19.94 kB / 0.9997 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.8204, allocations: 191.1 kB / 0.9999 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.8205, allocations: 51.97 kB / 0.9999 GB, free: 2.656 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000558/0.8211, allocations: 353.8 kB / 1 GB, free: 2.309 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.8214, allocations: 147 kB / 1 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.8253, allocations: 1.405 MB / 1.002 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.8253, allocations: 8 kB / 1.002 GB, free: 0.7383 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.8254, allocations: 0 / 1.002 GB, free: 0.7383 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.8254, allocations: 3.984 kB / 1.002 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005943/0.8313, allocations: 2.803 MB / 1.005 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.8314, allocations: 4 kB / 1.005 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.8326, allocations: 221.9 kB / 1.005 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/0.8326, allocations: 11.94 kB / 1.005 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.838e-05/0.8327, allocations: 31.91 kB / 1.005 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.8327, allocations: 8 kB / 1.005 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8327, allocations: 7.984 kB / 1.005 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00547/0.8382, allocations: 2.252 MB / 1.007 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/0.8387, allocations: 312 kB / 1.007 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/0.839, allocations: 27.92 kB / 1.007 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.8401, allocations: 111.9 kB / 1.007 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.8402, allocations: 64.42 kB / 1.007 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/0.8403, allocations: 35.92 kB / 1.008 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001043/0.8413, allocations: 0.8522 MB / 1.008 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8414, allocations: 0 / 1.008 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001005/0.8424, allocations: 319.7 kB / 1.009 GB, free: 9.516 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00129/0.8437, allocations: 0.5401 MB / 1.009 GB, free: 9.148 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003605/0.8473, allocations: 1.283 MB / 1.01 GB, free: 7.863 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8473, allocations: 0 / 1.01 GB, free: 7.863 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.849, allocations: 0.6443 MB / 1.011 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.8516, allocations: 0.5914 MB / 1.012 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/0.8563, allocations: 2.596 MB / 1.014 GB, free: 3.969 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/0.8571, allocations: 1.173 MB / 1.015 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001156/0.8583, allocations: 345.9 kB / 1.016 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/0.8586, allocations: 111.4 kB / 1.016 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of SimCode: time 3.31e-07/0.8587, allocations: 0 / 1.016 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of Templates: time 0.03509/0.8937, allocations: 22.39 MB / 1.038 GB, free: 12.27 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)