Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001258/0.001259, allocations: 111.7 kB / 16.41 MB, free: 6.484 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.00139/0.00139, allocations: 195.1 kB / 17.34 MB, free: 5.762 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6736/0.6736, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 62.97 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1354, allocations: 76.19 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.505/0.6404, allocations: 193.8 MB / 0.8213 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00867/0.6491, allocations: 5.163 MB / 0.8264 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.6511, allocations: 47.09 kB / 0.8264 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.6533, allocations: 0.8093 MB / 0.8272 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006813/0.6602, allocations: 2.598 MB / 0.8298 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.6629, allocations: 1.117 MB / 0.8309 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003473/0.6664, allocations: 2.679 MB / 0.8335 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.6676, allocations: 0.9446 MB / 0.8344 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.6693, allocations: 1.127 MB / 0.8355 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.6705, allocations: 0.9919 MB / 0.8365 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.6706, allocations: 89.22 kB / 0.8365 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003294/0.6739, allocations: 1.792 MB / 0.8383 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003987/0.6743, allocations: 448.7 kB / 0.8387 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006246/0.675, allocations: 0.661 MB / 0.8394 GB, free: 232 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.6778, allocations: 2.211 MB / 0.8415 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6778, allocations: 0 / 0.8415 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6778, allocations: 0 / 0.8415 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.015e-05/0.6779, allocations: 4 kB / 0.8415 GB, free: 14.98 MB / 0.6075 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.004679/0.6825, allocations: 1.962 MB / 0.8435 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.6826, allocations: 13.38 kB / 0.8435 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005258/0.6879, allocations: 0.8847 MB / 0.8443 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.6893, allocations: 0.9779 MB / 0.8453 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/0.6894, allocations: 70.7 kB / 0.8453 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.6896, allocations: 96.22 kB / 0.8454 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.6932, allocations: 1.584 MB / 0.847 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.6932, allocations: 4 kB / 0.847 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.6933, allocations: 31.47 kB / 0.847 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/0.6934, allocations: 49.92 kB / 0.8471 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004975/0.6984, allocations: 1.849 MB / 0.8489 GB, free: 9.633 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.006934/0.7053, allocations: 4.716 MB / 0.8535 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004173/0.7095, allocations: 1.566 MB / 0.855 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/0.7117, allocations: 0.8509 MB / 0.8558 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/0.7129, allocations: 0.9392 MB / 0.8568 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002361/0.7152, allocations: 0.9169 MB / 0.8577 GB, free: 280 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 3.717e-06/0.7153, allocations: 0 / 0.8577 GB, free: 280 kB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.007454/0.7227, allocations: 2.456 MB / 0.8601 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.7228, allocations: 64.41 kB / 0.8601 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.7241, allocations: 1.193 MB / 0.8613 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.7242, allocations: 49.7 kB / 0.8613 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/0.7247, allocations: 0.5409 MB / 0.8619 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.725, allocations: 327.7 kB / 0.8622 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/0.7253, allocations: 186.5 kB / 0.8623 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.7254, allocations: 345.9 kB / 0.8627 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.7275, allocations: 0.6994 MB / 0.8634 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/0.7298, allocations: 0.9018 MB / 0.8642 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004235/0.7341, allocations: 1.555 MB / 0.8658 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.7341, allocations: 4 kB / 0.8658 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004784/0.7389, allocations: 1.781 MB / 0.8675 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.7389, allocations: 11.98 kB / 0.8675 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.7389, allocations: 7.938 kB / 0.8675 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/0.739, allocations: 12.88 kB / 0.8675 GB, free: 6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.7407, allocations: 331.5 kB / 0.8678 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.7407, allocations: 13.42 kB / 0.8679 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.7423, allocations: 249.7 kB / 0.8681 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/0.7424, allocations: 48.06 kB / 0.8681 GB, free: 5.375 MB / 0.6231 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.0004909/0.7429, allocations: 340.7 kB / 0.8685 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.7431, allocations: 130.4 kB / 0.8686 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004875/0.7479, allocations: 1.807 MB / 0.8704 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.748, allocations: 15.98 kB / 0.8704 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.748, allocations: 0 / 0.8704 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.748, allocations: 3.984 kB / 0.8704 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006687/0.7547, allocations: 3.335 MB / 0.8736 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.7547, allocations: 4 kB / 0.8736 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/0.7563, allocations: 293.7 kB / 0.8739 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.7563, allocations: 12 kB / 0.8739 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/0.7564, allocations: 35.95 kB / 0.874 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.7564, allocations: 11.94 kB / 0.874 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.7565, allocations: 4 kB / 0.874 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007357/0.7638, allocations: 2.844 MB / 0.8768 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006424/0.7645, allocations: 323.2 kB / 0.8771 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.7647, allocations: 24 kB / 0.8771 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.7661, allocations: 159.8 kB / 0.8772 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.7663, allocations: 68.45 kB / 0.8773 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.848e-05/0.7664, allocations: 43.97 kB / 0.8773 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001032/0.7674, allocations: 0.8314 MB / 0.8782 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7674, allocations: 0 / 0.8782 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001101/0.7685, allocations: 339.6 kB / 0.8785 GB, free: 10.62 MB / 0.6387 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.001285/0.7698, allocations: 0.5303 MB / 0.879 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004685/0.7745, allocations: 1.639 MB / 0.8806 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.7745, allocations: 0 / 0.8806 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.7768, allocations: 0.8415 MB / 0.8814 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.7796, allocations: 0.6135 MB / 0.882 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/0.7857, allocations: 2.965 MB / 0.8849 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008095/0.7866, allocations: 1.183 MB / 0.8861 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001369/0.7879, allocations: 366 kB / 0.8864 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/0.7884, allocations: 115.3 kB / 0.8865 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.7884, allocations: 0 / 0.8865 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of Templates: time 0.03731/0.8258, allocations: 23.93 MB / 0.9099 GB, free: 10.83 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)