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.0008041/0.0008041, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008379/0.000838, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 273.8 kB / 291.4 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9481/0.9481, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004001, allocations: 16.59 kB / 0.598 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4415/0.5806, allocations: 176.3 MB / 0.8567 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007572/0.5882, allocations: 4.9 MB / 0.8614 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008947/0.5891, allocations: 39.62 kB / 0.8615 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.5905, allocations: 0.6275 MB / 0.8621 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00434/0.5948, allocations: 1.882 MB / 0.8639 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.5969, allocations: 0.9057 MB / 0.8648 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002878/0.5998, allocations: 2.996 MB / 0.8677 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009776/0.6008, allocations: 0.7451 MB / 0.8685 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.6022, allocations: 0.983 MB / 0.8694 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.6033, allocations: 0.9229 MB / 0.8703 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.6034, allocations: 46.31 kB / 0.8704 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.6056, allocations: 0.9325 MB / 0.8713 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003733/0.606, allocations: 408.7 kB / 0.8717 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.6063, allocations: 264.1 kB / 0.8719 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.6077, allocations: 1.347 MB / 0.8732 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6077, allocations: 2.75 kB / 0.8732 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6077, allocations: 0 / 0.8732 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.6077, allocations: 0 / 0.8732 GB, free: 13.52 MB / 0.5919 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.004088/0.6118, allocations: 1.688 MB / 0.8749 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.6118, allocations: 11.92 kB / 0.8749 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003846/0.6157, allocations: 0.7483 MB / 0.8756 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.617, allocations: 0.8468 MB / 0.8765 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.6171, allocations: 68.41 kB / 0.8765 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.6172, allocations: 89.52 kB / 0.8766 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/0.6202, allocations: 1.47 MB / 0.878 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.6202, allocations: 15.88 kB / 0.8781 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.982e-05/0.6203, allocations: 36 kB / 0.8781 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.379e-05/0.6204, allocations: 45.98 kB / 0.8781 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003921/0.6243, allocations: 1.584 MB / 0.8797 GB, free: 8.297 MB / 0.5919 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.006376/0.6307, allocations: 5.046 MB / 0.8846 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/0.6339, allocations: 1.237 MB / 0.8858 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.6356, allocations: 0.6813 MB / 0.8865 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.6368, allocations: 0.9527 MB / 0.8874 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001805/0.6386, allocations: 0.7381 MB / 0.8881 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.6386, allocations: 0 / 0.8881 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005513/0.6442, allocations: 1.979 MB / 0.8901 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.6443, allocations: 64.06 kB / 0.8901 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.6457, allocations: 1.259 MB / 0.8914 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/0.6458, allocations: 45.64 kB / 0.8914 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/0.6463, allocations: 0.5755 MB / 0.892 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.6465, allocations: 276.1 kB / 0.8922 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.6466, allocations: 20 kB / 0.8922 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6467, allocations: 349.9 kB / 0.8926 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.6483, allocations: 0.5523 MB / 0.8931 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.6501, allocations: 0.8325 MB / 0.8939 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.6516, allocations: 0.6041 MB / 0.8945 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.6517, allocations: 4 kB / 0.8945 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003629/0.6553, allocations: 1.538 MB / 0.896 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.6553, allocations: 8.094 kB / 0.896 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.6553, allocations: 7.938 kB / 0.896 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.6554, allocations: 12 kB / 0.8961 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.6568, allocations: 304.1 kB / 0.8963 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.6568, allocations: 19.92 kB / 0.8964 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.6581, allocations: 214.8 kB / 0.8966 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.781e-05/0.6582, allocations: 51.97 kB / 0.8966 GB, free: 6.332 MB / 0.6075 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005035/0.6587, allocations: 344.3 kB / 0.8969 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.6589, allocations: 134.3 kB / 0.8971 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/0.6626, allocations: 1.468 MB / 0.8985 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.6626, allocations: 8 kB / 0.8985 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6627, allocations: 0 / 0.8985 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.6627, allocations: 3.984 kB / 0.8985 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005456/0.6681, allocations: 2.884 MB / 0.9013 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.6682, allocations: 4 kB / 0.9013 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.6694, allocations: 227.9 kB / 0.9016 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.6694, allocations: 8 kB / 0.9016 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/0.6695, allocations: 27.97 kB / 0.9016 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.6695, allocations: 15.94 kB / 0.9016 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6695, allocations: 4 kB / 0.9016 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005094/0.6746, allocations: 2.346 MB / 0.9039 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.6751, allocations: 307.2 kB / 0.9042 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.6753, allocations: 23.98 kB / 0.9042 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.6763, allocations: 135.8 kB / 0.9043 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.6764, allocations: 60.53 kB / 0.9044 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.384e-05/0.6765, allocations: 39.97 kB / 0.9044 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009926/0.6775, allocations: 0.8683 MB / 0.9053 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6775, allocations: 0 / 0.9053 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009065/0.6785, allocations: 319.7 kB / 0.9056 GB, free: 12.93 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.6796, allocations: 0.532 MB / 0.9061 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003294/0.6829, allocations: 1.32 MB / 0.9074 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.683, allocations: 0 / 0.9074 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.6846, allocations: 0.6677 MB / 0.9081 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.6871, allocations: 0.6039 MB / 0.9086 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.6916, allocations: 2.92 MB / 0.9115 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.6922, allocations: 1.183 MB / 0.9126 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001353/0.6936, allocations: 358.1 kB / 0.913 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.694, allocations: 111.4 kB / 0.9131 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.694, allocations: 0 / 0.9131 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of Templates: time 0.03335/0.7273, allocations: 21.37 MB / 0.934 GB, free: 268 kB / 0.6387 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)