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.0008237/0.0008237, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008875/0.0008877, allocations: 184.4 kB / 16.92 MB, free: 6.934 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.371/1.371, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6716/0.6716, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 12 kB / 495.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1586, allocations: 77.53 MB / 0.56 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5275/0.6862, allocations: 189 MB / 0.7445 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009375/0.6956, allocations: 5.144 MB / 0.7495 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.6973, allocations: 39.69 kB / 0.7496 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.6993, allocations: 0.6999 MB / 0.7502 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006667/0.706, allocations: 2.455 MB / 0.7526 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.7092, allocations: 1 MB / 0.7536 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00527/0.7145, allocations: 3.619 MB / 0.7572 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.716, allocations: 0.8437 MB / 0.758 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.7182, allocations: 0.9958 MB / 0.759 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.7195, allocations: 1.004 MB / 0.7599 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.7197, allocations: 52 kB / 0.76 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004081/0.7238, allocations: 2.069 MB / 0.762 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000537/0.7243, allocations: 422.6 kB / 0.7624 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008879/0.7252, allocations: 0.6348 MB / 0.763 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004197/0.7294, allocations: 2.246 MB / 0.7652 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7295, allocations: 0 / 0.7652 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.396e-06/0.7295, allocations: 4 kB / 0.7652 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.7295, allocations: 0 / 0.7652 GB, free: 4.578 MB / 0.5762 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.005023/0.7345, allocations: 1.701 MB / 0.7669 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.7346, allocations: 8.031 kB / 0.7669 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005745/0.7403, allocations: 0.9267 MB / 0.7678 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.7421, allocations: 0.9021 MB / 0.7687 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.101e-05/0.7422, allocations: 73.98 kB / 0.7688 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.7424, allocations: 91.91 kB / 0.7688 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003734/0.7461, allocations: 1.579 MB / 0.7704 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.7462, allocations: 0 / 0.7704 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.7463, allocations: 35.98 kB / 0.7704 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/0.7463, allocations: 49.98 kB / 0.7705 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005448/0.7518, allocations: 1.846 MB / 0.7723 GB, free: 13.22 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.008284/0.7601, allocations: 4.758 MB / 0.7769 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004534/0.7646, allocations: 1.58 MB / 0.7785 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/0.767, allocations: 0.8554 MB / 0.7793 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/0.7684, allocations: 0.9491 MB / 0.7802 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002561/0.771, allocations: 0.9144 MB / 0.7811 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.777e-06/0.771, allocations: 3.938 kB / 0.7811 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.008063/0.7791, allocations: 2.45 MB / 0.7835 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.7792, allocations: 60.41 kB / 0.7836 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.7809, allocations: 1.197 MB / 0.7847 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.781, allocations: 53.69 kB / 0.7848 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004663/0.7815, allocations: 0.537 MB / 0.7853 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.7818, allocations: 331.2 kB / 0.7856 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.782, allocations: 85.67 kB / 0.7857 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7821, allocations: 341.9 kB / 0.786 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/0.7843, allocations: 0.6967 MB / 0.7867 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002424/0.7868, allocations: 0.9113 MB / 0.7876 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004504/0.7913, allocations: 1.546 MB / 0.7891 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/0.7913, allocations: 3.938 kB / 0.7891 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005252/0.7966, allocations: 1.768 MB / 0.7908 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.7966, allocations: 4 kB / 0.7908 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.7967, allocations: 4 kB / 0.7909 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.7967, allocations: 12 kB / 0.7909 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.7985, allocations: 343.9 kB / 0.7912 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.7985, allocations: 8 kB / 0.7912 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.8003, allocations: 258.8 kB / 0.7914 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.8004, allocations: 47.97 kB / 0.7915 GB, free: 8.902 MB / 0.6075 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.0006291/0.8011, allocations: 343.6 kB / 0.7918 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.8013, allocations: 138.3 kB / 0.7919 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005361/0.8067, allocations: 1.792 MB / 0.7937 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.8067, allocations: 12 kB / 0.7937 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.8067, allocations: 0 / 0.7937 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.8067, allocations: 3.984 kB / 0.7937 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007674/0.8144, allocations: 3.332 MB / 0.797 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.8144, allocations: 4 kB / 0.797 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.8161, allocations: 295.8 kB / 0.7973 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/0.8161, allocations: 8 kB / 0.7973 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.555e-05/0.8162, allocations: 31.97 kB / 0.7973 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/0.8163, allocations: 8 kB / 0.7973 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.8163, allocations: 7.938 kB / 0.7973 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007737/0.824, allocations: 2.839 MB / 0.8001 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007687/0.8248, allocations: 327.1 kB / 0.8004 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003744/0.8252, allocations: 28 kB / 0.8004 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/0.827, allocations: 171.8 kB / 0.8006 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.8272, allocations: 72.44 kB / 0.8007 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.8273, allocations: 43.97 kB / 0.8007 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001387/0.8287, allocations: 0.8276 MB / 0.8015 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.1e-07/0.8287, allocations: 3.938 kB / 0.8015 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001471/0.8302, allocations: 343.5 kB / 0.8018 GB, free: 14.09 MB / 0.6231 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.001622/0.8318, allocations: 0.5482 MB / 0.8024 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005257/0.8371, allocations: 1.611 MB / 0.8039 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.8371, allocations: 4 kB / 0.8039 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002606/0.8397, allocations: 0.836 MB / 0.8048 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/0.8438, allocations: 0.5943 MB / 0.8053 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007447/0.8513, allocations: 3.506 MB / 0.8088 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.8523, allocations: 1.183 MB / 0.8099 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001913/0.8542, allocations: 366 kB / 0.8103 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005456/0.8548, allocations: 119.4 kB / 0.8104 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/0.8548, allocations: 0 / 0.8104 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of Templates: time 0.3358/1.191, allocations: 22.56 MB / 0.8324 GB, free: 231.8 MB / 0.6387 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)