Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007086/0.007086, allocations: 173.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7563/0.7563, allocations: 135.2 MB / 151.1 MB, free: 13.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.2 MB / 406.9 MB, free: 3.207 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.0009712/0.0009708, allocations: 107.5 kB / 490 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 12 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4764/0.4767, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.605/5.082, allocations: 1.837 GB / 2.486 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/5.083, allocations: 98.45 kB / 2.486 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.101/8.184, allocations: 0.6869 GB / 3.173 GB, free: 128.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.405e-06/8.184, allocations: 0 / 3.173 GB, free: 128.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002674/8.184, allocations: 40.5 kB / 3.173 GB, free: 128.1 MB / 0.698 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.01038/8.195, allocations: 2.069 MB / 3.175 GB, free: 127.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/8.195, allocations: 11.06 kB / 3.175 GB, free: 127.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/8.2, allocations: 0.8771 MB / 3.176 GB, free: 127.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005146/8.205, allocations: 1.136 MB / 3.177 GB, free: 127 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/8.206, allocations: 70.81 kB / 3.177 GB, free: 127 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006337/8.206, allocations: 86.91 kB / 3.177 GB, free: 127 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005013/8.211, allocations: 1.554 MB / 3.179 GB, free: 126.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.975e-05/8.211, allocations: 2.469 kB / 3.179 GB, free: 126.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/8.212, allocations: 38.22 kB / 3.179 GB, free: 126.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.709e-05/8.212, allocations: 44.39 kB / 3.179 GB, free: 126.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00498/8.217, allocations: 1.67 MB / 3.181 GB, free: 126.8 MB / 0.698 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.01134/8.228, allocations: 5.03 MB / 3.186 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004504/8.233, allocations: 1.637 MB / 3.187 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/8.234, allocations: 0.9505 MB / 3.188 GB, free: 124 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002583/8.237, allocations: 0.9719 MB / 3.189 GB, free: 124 MB / 0.698 GB Notification: Performance of pre-optimization done (n=95): time 5.721e-06/8.237, allocations: 0 / 3.189 GB, free: 124 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.008126/8.245, allocations: 2.587 MB / 3.192 GB, free: 123.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/8.245, allocations: 65.66 kB / 3.192 GB, free: 123.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/8.247, allocations: 1.06 MB / 3.193 GB, free: 123.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002201/8.248, allocations: 48.33 kB / 3.193 GB, free: 123.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000679/8.248, allocations: 0.5481 MB / 3.193 GB, free: 123.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004489/8.249, allocations: 325.7 kB / 3.194 GB, free: 123.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/8.249, allocations: 19.16 kB / 3.194 GB, free: 123.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001194/8.249, allocations: 351.1 kB / 3.194 GB, free: 123 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/8.251, allocations: 0.7471 MB / 3.195 GB, free: 123 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/8.254, allocations: 0.9883 MB / 3.196 GB, free: 122.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/8.256, allocations: 0.772 MB / 3.196 GB, free: 122.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/8.256, allocations: 2.656 kB / 3.196 GB, free: 122.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005349/8.261, allocations: 1.875 MB / 3.198 GB, free: 122.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/8.261, allocations: 3.625 kB / 3.198 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/8.261, allocations: 6.438 kB / 3.198 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.272e-05/8.261, allocations: 13.22 kB / 3.198 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/8.263, allocations: 352.9 kB / 3.199 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.959e-05/8.263, allocations: 9.188 kB / 3.199 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/8.266, allocations: 269.9 kB / 3.199 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/8.266, allocations: 58.48 kB / 3.199 GB, free: 122.6 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001092/8.267, allocations: 334.9 kB / 3.199 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005971/8.268, allocations: 135.4 kB / 3.199 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005722/8.273, allocations: 1.962 MB / 3.201 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/8.273, allocations: 13.16 kB / 3.201 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/8.273, allocations: 0 / 3.201 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/8.273, allocations: 3.328 kB / 3.201 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009204/8.283, allocations: 3.591 MB / 3.205 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/8.283, allocations: 6.594 kB / 3.205 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/8.285, allocations: 312.7 kB / 3.205 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-05/8.285, allocations: 6.625 kB / 3.205 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/8.285, allocations: 48.14 kB / 3.205 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/8.285, allocations: 8.5 kB / 3.205 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/8.285, allocations: 6.469 kB / 3.205 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00775/8.293, allocations: 3.268 MB / 3.208 GB, free: 121.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/8.294, allocations: 370.3 kB / 3.209 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005394/8.294, allocations: 22.47 kB / 3.209 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/8.296, allocations: 184.7 kB / 3.209 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/8.297, allocations: 80.56 kB / 3.209 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/8.297, allocations: 43.05 kB / 3.209 GB, free: 121 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001648/8.298, allocations: 0.8329 MB / 3.21 GB, free: 120.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.298, allocations: 0 / 3.21 GB, free: 120.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00263/8.301, allocations: 0.5199 MB / 3.21 GB, free: 120.9 MB / 0.698 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 (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.004511/8.305, allocations: 2.035 MB / 3.212 GB, free: 120.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005242/8.311, allocations: 1.727 MB / 3.214 GB, free: 120.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/8.311, allocations: 0 / 3.214 GB, free: 120.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00248/8.313, allocations: 0.9031 MB / 3.215 GB, free: 120.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003562/8.317, allocations: 0.5724 MB / 3.215 GB, free: 120.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/8.336, allocations: 4.207 MB / 3.219 GB, free: 119 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/8.337, allocations: 1.219 MB / 3.221 GB, free: 118.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00283/8.34, allocations: 408.6 kB / 3.221 GB, free: 118.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008515/8.341, allocations: 129.9 kB / 3.221 GB, free: 118.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/8.341, allocations: 0 / 3.221 GB, free: 118.3 MB / 0.698 GB Notification: Performance of Templates: time 0.07561/8.417, allocations: 43.23 MB / 3.263 GB, free: 106.6 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)