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.001043/0.001043, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001061/0.001061, allocations: 192.1 kB / 16.25 MB, free: 6.629 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.363/1.363, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 275.2 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9754/0.9754, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001622, allocations: 91.25 kB / 0.5947 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.183, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5031/0.6861, allocations: 191.3 MB / 0.8664 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009189/0.6953, allocations: 5.116 MB / 0.8714 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.6966, allocations: 44.53 kB / 0.8715 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.6985, allocations: 0.7355 MB / 0.8722 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006146/0.7047, allocations: 2.441 MB / 0.8746 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.7071, allocations: 1.016 MB / 0.8756 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002785/0.7099, allocations: 2.61 MB / 0.8781 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.711, allocations: 0.8991 MB / 0.879 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.7127, allocations: 1.122 MB / 0.8801 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.7137, allocations: 1.007 MB / 0.8811 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.7139, allocations: 80.97 kB / 0.8812 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.7168, allocations: 1.857 MB / 0.883 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003933/0.7172, allocations: 443.8 kB / 0.8834 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005814/0.7178, allocations: 0.655 MB / 0.884 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.7206, allocations: 2.275 MB / 0.8863 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7206, allocations: 0 / 0.8863 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.11e-07/0.7206, allocations: 0 / 0.8863 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.7206, allocations: 0 / 0.8863 GB, free: 2.223 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.00452/0.7251, allocations: 1.93 MB / 0.8881 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.7252, allocations: 10.47 kB / 0.8881 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004134/0.7293, allocations: 0.706 MB / 0.8888 GB, free: 468 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.7306, allocations: 0.8967 MB / 0.8897 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/0.7307, allocations: 67.94 kB / 0.8898 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.7309, allocations: 85.81 kB / 0.8899 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/0.7339, allocations: 1.474 MB / 0.8913 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.7339, allocations: 0 / 0.8913 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.734, allocations: 33.44 kB / 0.8913 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/0.7341, allocations: 48.11 kB / 0.8914 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003992/0.7381, allocations: 1.562 MB / 0.8929 GB, free: 13.32 MB / 0.6075 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.006384/0.7445, allocations: 5.019 MB / 0.8978 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003247/0.7477, allocations: 1.192 MB / 0.899 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.7494, allocations: 0.6668 MB / 0.8996 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.7507, allocations: 0.941 MB / 0.9005 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001823/0.7525, allocations: 0.7318 MB / 0.9012 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.925e-06/0.7525, allocations: 0 / 0.9012 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005874/0.7584, allocations: 1.952 MB / 0.9032 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.7584, allocations: 64.06 kB / 0.9032 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.7601, allocations: 1.263 MB / 0.9045 GB, free: 1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.7602, allocations: 49.7 kB / 0.9045 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.7606, allocations: 0.5638 MB / 0.905 GB, free: 384 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.7609, allocations: 276 kB / 0.9053 GB, free: 104 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/0.7612, allocations: 186.5 kB / 0.9055 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.7614, allocations: 349.9 kB / 0.9058 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.763, allocations: 0.5445 MB / 0.9064 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.7648, allocations: 0.8247 MB / 0.9072 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/0.768, allocations: 1.34 MB / 0.9085 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.768, allocations: 4 kB / 0.9085 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003887/0.7719, allocations: 1.515 MB / 0.91 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.7719, allocations: 8 kB / 0.91 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.772, allocations: 8.094 kB / 0.91 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.772, allocations: 15.94 kB / 0.91 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.7734, allocations: 295.8 kB / 0.9103 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/0.7735, allocations: 19.92 kB / 0.9103 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.775, allocations: 214.8 kB / 0.9105 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.7751, allocations: 50.09 kB / 0.9105 GB, free: 10.54 MB / 0.6231 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.0005437/0.7756, allocations: 339.3 kB / 0.9109 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.7759, allocations: 134.3 kB / 0.911 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/0.7798, allocations: 1.456 MB / 0.9124 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.7798, allocations: 8 kB / 0.9124 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7798, allocations: 0 / 0.9124 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.7799, allocations: 3.984 kB / 0.9124 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005898/0.7858, allocations: 2.866 MB / 0.9152 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.7858, allocations: 4 kB / 0.9152 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.787, allocations: 219.8 kB / 0.9154 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.7871, allocations: 8 kB / 0.9154 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.664e-05/0.7872, allocations: 31.97 kB / 0.9155 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.657e-06/0.7872, allocations: 4 kB / 0.9155 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.7872, allocations: 17.94 kB / 0.9155 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005469/0.7927, allocations: 2.307 MB / 0.9177 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005203/0.7932, allocations: 307.3 kB / 0.918 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/0.7934, allocations: 23.98 kB / 0.9181 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.7947, allocations: 119.9 kB / 0.9182 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.7948, allocations: 72.36 kB / 0.9182 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/0.7949, allocations: 35.97 kB / 0.9183 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001094/0.796, allocations: 0.8684 MB / 0.9191 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.796, allocations: 0 / 0.9191 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001067/0.7971, allocations: 319.7 kB / 0.9194 GB, free: 1.219 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 (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.001271/0.7984, allocations: 0.5341 MB / 0.92 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003987/0.8024, allocations: 1.429 MB / 0.9213 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.8024, allocations: 4 kB / 0.9214 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.8041, allocations: 0.6599 MB / 0.922 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/0.807, allocations: 0.63 MB / 0.9226 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/0.8123, allocations: 2.983 MB / 0.9255 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008227/0.8131, allocations: 1.175 MB / 0.9267 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001493/0.8146, allocations: 346.2 kB / 0.927 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/0.8151, allocations: 111.4 kB / 0.9271 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of SimCode: time 7.31e-07/0.8151, allocations: 0 / 0.9271 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of Templates: time 0.03655/0.8516, allocations: 22.93 MB / 0.9495 GB, free: 2.84 MB / 0.6544 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)