Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002672/0.002672, allocations: 170.3 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8374/0.8374, allocations: 130.7 MB / 138.7 MB, free: 3.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 221.5 MB / 391.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 95.84 kB / 473.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.869e-05, allocations: 8 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5165, allocations: 81.58 MB / 0.6282 GB, free: 42.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.871/5.388, allocations: 1.836 GB / 2.464 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/5.388, allocations: 88.02 kB / 2.464 GB, free: 76.02 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.761/8.149, allocations: 0.678 GB / 3.142 GB, free: 125 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.172e-06/8.149, allocations: 0 / 3.142 GB, free: 125 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001122/8.149, allocations: 39.36 kB / 3.142 GB, free: 125 MB / 0.6823 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.008312/8.158, allocations: 1.867 MB / 3.144 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/8.158, allocations: 10.5 kB / 3.144 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005569/8.163, allocations: 0.8778 MB / 3.145 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004034/8.167, allocations: 1.132 MB / 3.146 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/8.167, allocations: 27.19 kB / 3.146 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/8.168, allocations: 60.78 kB / 3.146 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001706/8.169, allocations: 0.9995 MB / 3.147 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/8.171, allocations: 1.174 MB / 3.148 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/8.171, allocations: 7.094 kB / 3.148 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.871e-05/8.171, allocations: 3.953 kB / 3.148 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/8.171, allocations: 45.94 kB / 3.148 GB, free: 123.7 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.008004/8.179, allocations: 4.811 MB / 3.153 GB, free: 122 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/8.181, allocations: 1.064 MB / 3.154 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007267/8.181, allocations: 0.5783 MB / 3.154 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/8.183, allocations: 0.9412 MB / 3.155 GB, free: 121 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009252/8.184, allocations: 0.6821 MB / 3.156 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 3.597e-06/8.184, allocations: 0 / 3.156 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.002901/8.186, allocations: 1.295 MB / 3.157 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/8.187, allocations: 63.03 kB / 3.157 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/8.188, allocations: 0.8188 MB / 3.158 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/8.188, allocations: 33.08 kB / 3.158 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/8.188, allocations: 0.5508 MB / 3.159 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/8.188, allocations: 311.2 kB / 3.159 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/8.188, allocations: 0 / 3.159 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/8.189, allocations: 342.8 kB / 3.159 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006493/8.189, allocations: 478.7 kB / 3.16 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008102/8.19, allocations: 0.6908 MB / 3.16 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/8.191, allocations: 0.5077 MB / 3.161 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/8.191, allocations: 1.625 kB / 3.161 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00202/8.193, allocations: 1.272 MB / 3.162 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/8.193, allocations: 8.375 kB / 3.162 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/8.193, allocations: 3.875 kB / 3.162 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/8.193, allocations: 11 kB / 3.162 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/8.195, allocations: 352.8 kB / 3.163 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/8.195, allocations: 21.25 kB / 3.163 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/8.197, allocations: 210.9 kB / 3.163 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/8.197, allocations: 53.61 kB / 3.163 GB, free: 119.5 MB / 0.6823 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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002692/8.197, allocations: 132.4 kB / 3.163 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/8.197, allocations: 121.8 kB / 3.163 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/8.2, allocations: 1.363 MB / 3.164 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/8.2, allocations: 10.81 kB / 3.164 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/8.2, allocations: 0 / 3.164 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/8.2, allocations: 14 kB / 3.164 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004438/8.204, allocations: 2.88 MB / 3.167 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/8.204, allocations: 7.812 kB / 3.167 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/8.206, allocations: 310.4 kB / 3.168 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/8.206, allocations: 23.39 kB / 3.168 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/8.206, allocations: 26.58 kB / 3.168 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/8.206, allocations: 9.156 kB / 3.168 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/8.206, allocations: 4.969 kB / 3.168 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/8.209, allocations: 2.391 MB / 3.17 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006044/8.21, allocations: 349.4 kB / 3.17 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/8.21, allocations: 16.58 kB / 3.17 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/8.211, allocations: 162.2 kB / 3.17 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/8.211, allocations: 78.64 kB / 3.171 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.891e-05/8.211, allocations: 43.08 kB / 3.171 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008005/8.212, allocations: 0.625 MB / 3.171 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/8.212, allocations: 0 / 3.171 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001786/8.214, allocations: 476.2 kB / 3.172 GB, free: 117.8 MB / 0.6823 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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.003579/8.218, allocations: 2.159 MB / 3.174 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001843/8.22, allocations: 1.148 MB / 3.175 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/8.22, allocations: 3.5 kB / 3.175 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008514/8.22, allocations: 0.6139 MB / 3.175 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/8.222, allocations: 435.5 kB / 3.176 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/8.237, allocations: 3.021 MB / 3.179 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/8.237, allocations: 1.221 MB / 3.18 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002138/8.24, allocations: 368.5 kB / 3.18 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/8.24, allocations: 120.9 kB / 3.18 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.873e-06/8.24, allocations: 2.875 kB / 3.18 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.044/8.284, allocations: 28.26 MB / 3.208 GB, free: 105.6 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)