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.001532/0.001532, allocations: 103.1 kB / 16.27 MB, free: 6.414 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.001454/0.001454, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002493/0.002493, allocations: 300.2 kB / 291.3 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.161/1.161, allocations: 178.6 MB / 0.5079 GB, free: 12.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 99.84 kB / 0.6071 GB, free: 9.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1885, allocations: 89.13 MB / 0.6941 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4554/0.6439, allocations: 193.8 MB / 0.8834 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00934/0.6533, allocations: 5.139 MB / 0.8885 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.6547, allocations: 47.69 kB / 0.8885 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.6567, allocations: 0.8042 MB / 0.8893 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006383/0.6631, allocations: 2.599 MB / 0.8918 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.6657, allocations: 1.108 MB / 0.8929 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00321/0.6689, allocations: 2.602 MB / 0.8955 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.6702, allocations: 0.9 MB / 0.8963 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.672, allocations: 1.074 MB / 0.8974 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.6732, allocations: 0.9417 MB / 0.8983 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.6733, allocations: 76 kB / 0.8984 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.6766, allocations: 1.793 MB / 0.9001 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.6771, allocations: 430.6 kB / 0.9005 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007007/0.6778, allocations: 0.6448 MB / 0.9012 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003212/0.681, allocations: 2.122 MB / 0.9032 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6811, allocations: 0 / 0.9032 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6811, allocations: 0 / 0.9032 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.6811, allocations: 3.938 kB / 0.9032 GB, free: 4.004 MB / 0.6544 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.00474/0.6858, allocations: 1.926 MB / 0.9051 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6859, allocations: 12.03 kB / 0.9051 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003835/0.6897, allocations: 0.6615 MB / 0.9058 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.6911, allocations: 0.8786 MB / 0.9066 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.6912, allocations: 62 kB / 0.9067 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.6914, allocations: 91.98 kB / 0.9068 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/0.6946, allocations: 1.475 MB / 0.9082 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.6946, allocations: 3.938 kB / 0.9082 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.6947, allocations: 36.48 kB / 0.9083 GB, free: 14.68 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/0.6948, allocations: 49.98 kB / 0.9083 GB, free: 14.63 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004218/0.699, allocations: 1.522 MB / 0.9098 GB, free: 13.11 MB / 0.67 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.007787/0.7068, allocations: 5.496 MB / 0.9152 GB, free: 7.336 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003833/0.7107, allocations: 1.276 MB / 0.9164 GB, free: 6.047 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.7125, allocations: 0.6585 MB / 0.9171 GB, free: 5.387 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009571/0.7134, allocations: 0.5812 MB / 0.9176 GB, free: 4.695 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001934/0.7154, allocations: 0.7194 MB / 0.9183 GB, free: 3.961 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 5.07e-06/0.7154, allocations: 0 / 0.9183 GB, free: 3.961 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.005854/0.7213, allocations: 1.878 MB / 0.9202 GB, free: 2.078 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.7213, allocations: 60.06 kB / 0.9202 GB, free: 2.004 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.723, allocations: 1.239 MB / 0.9214 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.7231, allocations: 49.69 kB / 0.9215 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005236/0.7237, allocations: 0.5714 MB / 0.922 GB, free: 128 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.724, allocations: 276.3 kB / 0.9223 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003195/0.7243, allocations: 186.5 kB / 0.9225 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.7245, allocations: 341.9 kB / 0.9228 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.7261, allocations: 0.5367 MB / 0.9233 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.728, allocations: 0.8258 MB / 0.9241 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003472/0.7315, allocations: 1.321 MB / 0.9254 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.7316, allocations: 7.938 kB / 0.9254 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004066/0.7356, allocations: 1.491 MB / 0.9269 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.7357, allocations: 11.94 kB / 0.9269 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.7357, allocations: 8 kB / 0.9269 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.7357, allocations: 12.69 kB / 0.9269 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.7371, allocations: 291.8 kB / 0.9272 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.7372, allocations: 19.94 kB / 0.9272 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.7385, allocations: 194.8 kB / 0.9274 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.616e-05/0.7386, allocations: 47.97 kB / 0.9274 GB, free: 10.34 MB / 0.6856 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.0005398/0.7391, allocations: 340.8 kB / 0.9278 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.7393, allocations: 142.2 kB / 0.9279 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/0.7433, allocations: 1.405 MB / 0.9293 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.7433, allocations: 11.94 kB / 0.9293 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.7433, allocations: 0.625 kB / 0.9293 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.7433, allocations: 3.984 kB / 0.9293 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005894/0.7492, allocations: 2.81 MB / 0.932 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.7493, allocations: 4 kB / 0.932 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.7505, allocations: 223.8 kB / 0.9322 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/0.7505, allocations: 11.94 kB / 0.9323 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.828e-05/0.7506, allocations: 31.97 kB / 0.9323 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.477e-06/0.7506, allocations: 7.938 kB / 0.9323 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.7506, allocations: 8 kB / 0.9323 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005744/0.7564, allocations: 2.244 MB / 0.9345 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005852/0.757, allocations: 299.2 kB / 0.9348 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.7572, allocations: 20 kB / 0.9348 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.7583, allocations: 111.9 kB / 0.9349 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.7584, allocations: 60.44 kB / 0.935 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-05/0.7585, allocations: 35.97 kB / 0.935 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001103/0.7596, allocations: 0.8561 MB / 0.9358 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7596, allocations: 4 kB / 0.9358 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009981/0.7606, allocations: 319.6 kB / 0.9361 GB, free: 1.219 MB / 0.6856 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.001773/0.7624, allocations: 0.5382 MB / 0.9367 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004289/0.7667, allocations: 1.403 MB / 0.938 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.7667, allocations: 0 / 0.938 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.7686, allocations: 0.6443 MB / 0.9387 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/0.7713, allocations: 0.6016 MB / 0.9393 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.7766, allocations: 2.648 MB / 0.9418 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008495/0.7775, allocations: 1.171 MB / 0.943 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/0.778, allocations: 123.4 kB / 0.9431 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of SimCode: time 6.31e-07/0.7781, allocations: 0 / 0.9431 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of Templates: time 0.03094/0.809, allocations: 20.35 MB / 0.963 GB, free: 6.016 MB / 0.7169 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)