Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.001461, allocations: 104.6 kB / 15.99 MB, free: 6.355 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.001488/0.001488, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.302/1.302, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002369/0.002369, allocations: 284.5 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.137/1.137, allocations: 178.5 MB / 0.5076 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 103.8 kB / 0.6066 GB, free: 9.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1675, allocations: 89.14 MB / 0.6936 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4281/0.5957, allocations: 191.3 MB / 0.8804 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008464/0.6042, allocations: 5.123 MB / 0.8854 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009986/0.6052, allocations: 43.69 kB / 0.8855 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.607, allocations: 0.7311 MB / 0.8862 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005792/0.6128, allocations: 2.444 MB / 0.8886 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.6153, allocations: 1.01 MB / 0.8896 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003142/0.6184, allocations: 2.613 MB / 0.8921 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.6196, allocations: 0.8965 MB / 0.893 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.6212, allocations: 1.109 MB / 0.8941 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.6224, allocations: 1.02 MB / 0.8951 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.6225, allocations: 80 kB / 0.8952 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.6255, allocations: 1.851 MB / 0.897 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004498/0.626, allocations: 446.6 kB / 0.8974 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006455/0.6267, allocations: 0.6493 MB / 0.898 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.6285, allocations: 1.532 MB / 0.8995 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.6285, allocations: 4 kB / 0.8995 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6285, allocations: 0 / 0.8995 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.6286, allocations: 0 / 0.8995 GB, free: 7.691 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.004595/0.6332, allocations: 1.929 MB / 0.9014 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.6332, allocations: 16.02 kB / 0.9014 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004196/0.6374, allocations: 0.7044 MB / 0.9021 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.6387, allocations: 0.8826 MB / 0.903 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/0.6388, allocations: 69.98 kB / 0.903 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.639, allocations: 87.98 kB / 0.9031 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003081/0.642, allocations: 1.469 MB / 0.9046 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.6421, allocations: 0.5 kB / 0.9046 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.6422, allocations: 43.94 kB / 0.9046 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-05/0.6423, allocations: 45.98 kB / 0.9046 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003998/0.6463, allocations: 1.561 MB / 0.9062 GB, free: 0.7188 MB / 0.6544 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.006269/0.6526, allocations: 5.018 MB / 0.9111 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/0.6559, allocations: 1.185 MB / 0.9122 GB, free: 10.26 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.6575, allocations: 0.6685 MB / 0.9129 GB, free: 9.59 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.6589, allocations: 0.941 MB / 0.9138 GB, free: 8.465 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001865/0.6607, allocations: 0.7348 MB / 0.9145 GB, free: 7.719 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.6607, allocations: 0 / 0.9145 GB, free: 7.719 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.00571/0.6665, allocations: 1.952 MB / 0.9164 GB, free: 5.758 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.6665, allocations: 60.06 kB / 0.9165 GB, free: 5.688 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.6679, allocations: 1.271 MB / 0.9177 GB, free: 4.41 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.041e-05/0.668, allocations: 41.7 kB / 0.9178 GB, free: 4.363 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.6685, allocations: 0.5755 MB / 0.9183 GB, free: 3.781 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.6688, allocations: 280 kB / 0.9186 GB, free: 3.504 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/0.6691, allocations: 190.5 kB / 0.9188 GB, free: 3.309 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6693, allocations: 345.9 kB / 0.9191 GB, free: 2.965 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.6708, allocations: 0.5445 MB / 0.9196 GB, free: 2.422 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.6726, allocations: 0.8169 MB / 0.9204 GB, free: 1.504 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003218/0.6758, allocations: 1.34 MB / 0.9217 GB, free: 68 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6758, allocations: 0.625 kB / 0.9217 GB, free: 68 kB / 0.67 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003767/0.6796, allocations: 1.522 MB / 0.9232 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6796, allocations: 9.25 kB / 0.9232 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.6797, allocations: 8 kB / 0.9232 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.6797, allocations: 12 kB / 0.9233 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.6811, allocations: 292.2 kB / 0.9235 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/0.6811, allocations: 23.8 kB / 0.9236 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.6824, allocations: 214.7 kB / 0.9238 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.944e-05/0.6825, allocations: 43.98 kB / 0.9238 GB, free: 13.95 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0004842/0.683, allocations: 344.2 kB / 0.9241 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.6832, allocations: 134.3 kB / 0.9243 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/0.6871, allocations: 1.448 MB / 0.9257 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.6871, allocations: 8 kB / 0.9257 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.6871, allocations: 0 / 0.9257 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.6871, allocations: 7.984 kB / 0.9257 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005635/0.6927, allocations: 2.86 MB / 0.9285 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6928, allocations: 4 kB / 0.9285 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.694, allocations: 228.2 kB / 0.9287 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.694, allocations: 8 kB / 0.9287 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.197e-05/0.6941, allocations: 31.91 kB / 0.9287 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.6941, allocations: 8 kB / 0.9288 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6941, allocations: 4 kB / 0.9288 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/0.6995, allocations: 2.314 MB / 0.931 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004201/0.7, allocations: 295.2 kB / 0.9313 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.7001, allocations: 28.08 kB / 0.9313 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.7012, allocations: 127.8 kB / 0.9314 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.7014, allocations: 56.42 kB / 0.9315 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/0.7015, allocations: 43.91 kB / 0.9315 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001029/0.7025, allocations: 0.8723 MB / 0.9324 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7025, allocations: 3.938 kB / 0.9324 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008945/0.7034, allocations: 327.6 kB / 0.9327 GB, free: 4.617 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.001711/0.7051, allocations: 0.5303 MB / 0.9332 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003888/0.709, allocations: 1.433 MB / 0.9346 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.709, allocations: 0 / 0.9346 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.7108, allocations: 0.6599 MB / 0.9353 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.7134, allocations: 0.613 MB / 0.9359 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.7184, allocations: 3.051 MB / 0.9388 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/0.7192, allocations: 1.171 MB / 0.94 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005304/0.7197, allocations: 127.4 kB / 0.9401 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of SimCode: time 6.01e-07/0.7197, allocations: 0 / 0.9401 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of Templates: time 0.02943/0.7492, allocations: 20.9 MB / 0.9605 GB, free: 8.422 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)