Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 118.4 kB / 16.37 MB, free: 6 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.001163/0.001163, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002214/0.002214, allocations: 287.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.914/0.914, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 94.58 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.154, allocations: 86.97 MB / 0.6816 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4699/0.6239, allocations: 193.8 MB / 0.8709 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00868/0.6326, allocations: 5.141 MB / 0.8759 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009456/0.6336, allocations: 47.69 kB / 0.8759 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.6354, allocations: 0.8119 MB / 0.8767 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005557/0.641, allocations: 2.598 MB / 0.8793 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.6436, allocations: 1.11 MB / 0.8804 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003384/0.647, allocations: 2.683 MB / 0.883 GB, free: 132 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.6486, allocations: 0.9406 MB / 0.8839 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.6508, allocations: 1.109 MB / 0.885 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.6525, allocations: 0.9884 MB / 0.8859 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003245/0.6528, allocations: 88 kB / 0.886 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.6564, allocations: 1.785 MB / 0.8878 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005851/0.657, allocations: 458.5 kB / 0.8882 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009369/0.658, allocations: 0.6651 MB / 0.8889 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.6613, allocations: 2.22 MB / 0.891 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6613, allocations: 0 / 0.891 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6613, allocations: 0 / 0.891 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.6613, allocations: 0 / 0.891 GB, free: 7.852 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004794/0.6661, allocations: 1.958 MB / 0.8929 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.6662, allocations: 8.031 kB / 0.8929 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/0.6715, allocations: 0.8955 MB / 0.8938 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.6731, allocations: 0.9761 MB / 0.8948 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/0.6732, allocations: 71.5 kB / 0.8948 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.6734, allocations: 88 kB / 0.8949 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/0.6768, allocations: 1.579 MB / 0.8965 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.6769, allocations: 0 / 0.8965 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.677, allocations: 39.98 kB / 0.8965 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.677, allocations: 57.92 kB / 0.8966 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004864/0.6819, allocations: 1.846 MB / 0.8984 GB, free: 192 kB / 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.007261/0.6892, allocations: 4.723 MB / 0.903 GB, free: 11.23 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004139/0.6933, allocations: 1.575 MB / 0.9045 GB, free: 9.645 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/0.6955, allocations: 0.8468 MB / 0.9053 GB, free: 8.797 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.6967, allocations: 0.9452 MB / 0.9063 GB, free: 7.668 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002311/0.6991, allocations: 0.9105 MB / 0.9071 GB, free: 6.742 MB / 0.67 GB Notification: Performance of pre-optimization done (n=95): time 2.705e-06/0.6991, allocations: 0 / 0.9071 GB, free: 6.742 MB / 0.67 GB Notification: Performance of matching and sorting (n=95): time 0.007191/0.7063, allocations: 2.454 MB / 0.9095 GB, free: 4.285 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.7063, allocations: 64.39 kB / 0.9096 GB, free: 4.211 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.7077, allocations: 1.193 MB / 0.9108 GB, free: 3.008 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.734e-05/0.7078, allocations: 49.7 kB / 0.9108 GB, free: 2.953 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.7082, allocations: 0.5408 MB / 0.9113 GB, free: 2.406 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.7085, allocations: 319.4 kB / 0.9117 GB, free: 2.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003374/0.7089, allocations: 198.5 kB / 0.9118 GB, free: 1.887 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.709, allocations: 337.9 kB / 0.9122 GB, free: 1.551 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.711, allocations: 0.7044 MB / 0.9129 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.7132, allocations: 0.9085 MB / 0.9137 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/0.7173, allocations: 1.557 MB / 0.9153 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.7173, allocations: 8 kB / 0.9153 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004685/0.722, allocations: 1.776 MB / 0.917 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.722, allocations: 4.438 kB / 0.917 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.722, allocations: 12 kB / 0.917 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.722, allocations: 8 kB / 0.917 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.7238, allocations: 339.4 kB / 0.9173 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.7238, allocations: 12 kB / 0.9174 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.7253, allocations: 238.7 kB / 0.9176 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.7255, allocations: 49.53 kB / 0.9176 GB, free: 11.82 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005569/0.726, allocations: 343.6 kB / 0.918 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.7263, allocations: 134.3 kB / 0.9181 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004909/0.7312, allocations: 1.796 MB / 0.9198 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.7312, allocations: 8 kB / 0.9199 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.7312, allocations: 0 / 0.9199 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.7312, allocations: 11.97 kB / 0.9199 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007108/0.7384, allocations: 3.332 MB / 0.9231 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.7384, allocations: 4 kB / 0.9231 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.7401, allocations: 291.6 kB / 0.9234 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.7401, allocations: 8 kB / 0.9234 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.7402, allocations: 35.97 kB / 0.9234 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.7402, allocations: 9.109 kB / 0.9234 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.7402, allocations: 7.938 kB / 0.9235 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007106/0.7473, allocations: 2.847 MB / 0.9262 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007753/0.7481, allocations: 323.2 kB / 0.9265 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.7484, allocations: 28.09 kB / 0.9266 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.7497, allocations: 155.7 kB / 0.9267 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.7499, allocations: 76.44 kB / 0.9268 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.981e-05/0.75, allocations: 44.84 kB / 0.9268 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009956/0.751, allocations: 0.8315 MB / 0.9276 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.11e-07/0.751, allocations: 0 / 0.9276 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001016/0.752, allocations: 335.7 kB / 0.928 GB, free: 1.023 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.001278/0.7533, allocations: 0.545 MB / 0.9285 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004599/0.7579, allocations: 1.634 MB / 0.9301 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.758, allocations: 4 kB / 0.9301 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002293/0.7603, allocations: 0.836 MB / 0.9309 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.763, allocations: 0.6163 MB / 0.9315 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00578/0.7688, allocations: 2.955 MB / 0.9344 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007425/0.7695, allocations: 1.187 MB / 0.9356 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001316/0.7709, allocations: 366 kB / 0.9359 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.7713, allocations: 115.4 kB / 0.936 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of SimCode: time 1.092e-06/0.7713, allocations: 0 / 0.936 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of Templates: time 0.03924/0.8106, allocations: 23.76 MB / 0.9592 GB, free: 1.445 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)