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.001815/0.001815, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002073/0.002073, allocations: 194.2 kB / 16.25 MB, free: 6.621 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.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002622/0.002622, allocations: 282.3 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.139/1.139, allocations: 178.6 MB / 0.5069 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00281/0.002811, allocations: 102.2 kB / 0.6059 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1683, allocations: 89.15 MB / 0.693 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4813/0.6497, allocations: 191.3 MB / 0.8798 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00842/0.6582, allocations: 5.126 MB / 0.8848 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009944/0.6592, allocations: 52.81 kB / 0.8848 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.661, allocations: 0.7233 MB / 0.8855 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005906/0.6669, allocations: 2.458 MB / 0.8879 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.6695, allocations: 1.011 MB / 0.8889 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004204/0.6737, allocations: 2.633 MB / 0.8915 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.6754, allocations: 0.8922 MB / 0.8924 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.6774, allocations: 1.113 MB / 0.8935 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.6787, allocations: 1.02 MB / 0.8945 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.6789, allocations: 76 kB / 0.8945 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/0.6823, allocations: 1.843 MB / 0.8963 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004556/0.6827, allocations: 438.6 kB / 0.8967 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006858/0.6834, allocations: 0.6507 MB / 0.8974 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002995/0.6864, allocations: 2.243 MB / 0.8996 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6865, allocations: 0 / 0.8996 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6865, allocations: 0 / 0.8996 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.6865, allocations: 0 / 0.8996 GB, free: 8.43 MB / 0.6231 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.004983/0.6915, allocations: 1.934 MB / 0.9015 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.6915, allocations: 8.031 kB / 0.9015 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004134/0.6957, allocations: 0.6576 MB / 0.9021 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.6971, allocations: 0.8748 MB / 0.903 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.806e-05/0.6971, allocations: 69.98 kB / 0.903 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.6973, allocations: 87.98 kB / 0.9031 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003335/0.7007, allocations: 1.475 MB / 0.9046 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.7007, allocations: 0 / 0.9046 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.7008, allocations: 43.98 kB / 0.9046 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/0.7009, allocations: 41.98 kB / 0.9046 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004318/0.7052, allocations: 1.522 MB / 0.9061 GB, free: 1.531 MB / 0.6231 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.00785/0.7131, allocations: 5.494 MB / 0.9115 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003844/0.7169, allocations: 1.277 MB / 0.9127 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/0.7188, allocations: 0.6596 MB / 0.9134 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.7198, allocations: 0.5812 MB / 0.9139 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002039/0.7219, allocations: 0.7185 MB / 0.9146 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 6.091e-06/0.7219, allocations: 4 kB / 0.9147 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.005877/0.7278, allocations: 1.87 MB / 0.9165 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.7279, allocations: 60.06 kB / 0.9165 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.7297, allocations: 1.246 MB / 0.9178 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.7298, allocations: 41.7 kB / 0.9178 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005738/0.7304, allocations: 0.5792 MB / 0.9184 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.7307, allocations: 272.1 kB / 0.9186 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/0.7311, allocations: 182.5 kB / 0.9188 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.7313, allocations: 341.9 kB / 0.9191 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.733, allocations: 0.5379 MB / 0.9196 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.735, allocations: 0.8252 MB / 0.9204 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003521/0.7385, allocations: 1.321 MB / 0.9217 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.7385, allocations: 4 kB / 0.9217 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004217/0.7428, allocations: 1.49 MB / 0.9232 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.7428, allocations: 12.81 kB / 0.9232 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.7428, allocations: 8.094 kB / 0.9232 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.7429, allocations: 19.94 kB / 0.9232 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.7445, allocations: 299.4 kB / 0.9235 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.7445, allocations: 12 kB / 0.9235 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.7461, allocations: 218.8 kB / 0.9237 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.7462, allocations: 57.97 kB / 0.9238 GB, free: 14.74 MB / 0.6544 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.0006444/0.7469, allocations: 336.5 kB / 0.9241 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.7471, allocations: 138.2 kB / 0.9243 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/0.7513, allocations: 1.401 MB / 0.9256 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.7513, allocations: 8 kB / 0.9256 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7513, allocations: 4 kB / 0.9256 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.7514, allocations: 7.984 kB / 0.9256 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00625/0.7576, allocations: 2.803 MB / 0.9284 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.7576, allocations: 4.5 kB / 0.9284 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.7589, allocations: 227.7 kB / 0.9286 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.759, allocations: 9 kB / 0.9286 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-05/0.759, allocations: 27.97 kB / 0.9286 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.837e-05/0.7591, allocations: 8 kB / 0.9286 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/0.7591, allocations: 7.938 kB / 0.9286 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005785/0.7649, allocations: 2.252 MB / 0.9308 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/0.7654, allocations: 291.2 kB / 0.9311 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.7657, allocations: 24 kB / 0.9311 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.7669, allocations: 131.8 kB / 0.9313 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.767, allocations: 74.41 kB / 0.9313 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.941e-05/0.7671, allocations: 35.97 kB / 0.9314 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001148/0.7683, allocations: 0.8483 MB / 0.9322 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7683, allocations: 0 / 0.9322 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001015/0.7693, allocations: 323.6 kB / 0.9325 GB, free: 5.609 MB / 0.6544 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.001907/0.7712, allocations: 0.522 MB / 0.933 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004198/0.7754, allocations: 1.411 MB / 0.9344 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7754, allocations: 0 / 0.9344 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.7773, allocations: 0.6365 MB / 0.935 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.78, allocations: 0.6016 MB / 0.9356 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005607/0.7856, allocations: 2.979 MB / 0.9385 GB, free: 15.57 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008958/0.7865, allocations: 1.178 MB / 0.9397 GB, free: 14.36 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001419/0.7879, allocations: 341.9 kB / 0.94 GB, free: 14.02 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/0.7883, allocations: 111.4 kB / 0.9401 GB, free: 13.91 MB / 0.67 GB Notification: Performance of SimCode: time 8.31e-07/0.7883, allocations: 3.938 kB / 0.9401 GB, free: 13.91 MB / 0.67 GB Notification: Performance of Templates: time 0.04001/0.8284, allocations: 22 MB / 0.9616 GB, free: 8.234 MB / 0.6856 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)