Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.00123/0.00123, allocations: 187 kB / 17.34 MB, free: 5.742 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7706/0.7706, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 65.53 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1426, allocations: 80.93 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001639/0.1443, allocations: 0.5094 MB / 0.6658 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001988/0.1445, allocations: 51.8 kB / 0.6658 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.1445, allocations: 0 / 0.6658 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.1446, allocations: 0 / 0.6658 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.1448, allocations: 7.938 kB / 0.6658 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.558e-05/0.1448, allocations: 7.938 kB / 0.6658 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.898e-05/0.1449, allocations: 4 kB / 0.6658 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.975e-05/0.145, allocations: 3.984 kB / 0.6658 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.364e-05/0.145, allocations: 8 kB / 0.6659 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.932e-05/0.1451, allocations: 7.984 kB / 0.6659 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.1451, allocations: 3.938 kB / 0.6659 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-06/0.1451, allocations: 0 / 0.6659 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.1452, allocations: 15.92 kB / 0.6659 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.1452, allocations: 0 / 0.6659 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.055e-05/0.1453, allocations: 11.92 kB / 0.6659 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1453, allocations: 0 / 0.6659 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1453, allocations: 0 / 0.6659 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1453, allocations: 0 / 0.6659 GB, free: 5.195 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000461/0.1458, allocations: 331.5 kB / 0.6662 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1459, allocations: 9.109 kB / 0.6662 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.1459, allocations: 8.844 kB / 0.6662 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1461, allocations: 180.3 kB / 0.6664 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1461, allocations: 384 / 0.6664 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.855e-05/0.1462, allocations: 384 / 0.6664 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.814e-05/0.1463, allocations: 37.62 kB / 0.6664 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1463, allocations: 0 / 0.6664 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1463, allocations: 0 / 0.6664 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1463, allocations: 3.984 kB / 0.6664 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.1463, allocations: 11.88 kB / 0.6665 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.1465, allocations: 153.7 kB / 0.6666 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/0.1465, allocations: 22.58 kB / 0.6666 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.1466, allocations: 15.84 kB / 0.6666 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.1466, allocations: 3.938 kB / 0.6666 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1466, allocations: 30.56 kB / 0.6667 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1466, allocations: 0 / 0.6667 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001383/0.1468, allocations: 45.62 kB / 0.6667 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.1468, allocations: 59.53 kB / 0.6668 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.147e-05/0.1469, allocations: 105.8 kB / 0.6669 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1469, allocations: 25.7 kB / 0.6669 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.147, allocations: 84.08 kB / 0.667 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.147, allocations: 11.89 kB / 0.667 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.147, allocations: 17.7 kB / 0.667 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1472, allocations: 314.8 kB / 0.6673 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.1472, allocations: 0 / 0.6673 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/0.1472, allocations: 29.7 kB / 0.6673 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.1473, allocations: 21.66 kB / 0.6674 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1473, allocations: 0 / 0.6674 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.902e-05/0.1474, allocations: 49.62 kB / 0.6674 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1474, allocations: 8 kB / 0.6674 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1474, allocations: 0 / 0.6674 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1474, allocations: 4.125 kB / 0.6674 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.1475, allocations: 11.92 kB / 0.6674 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1475, allocations: 0 / 0.6674 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.1475, allocations: 0 / 0.6674 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.1475, allocations: 4 kB / 0.6674 GB, free: 3.398 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.164e-05/0.1476, allocations: 105.8 kB / 0.6675 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.1477, allocations: 7.844 kB / 0.6675 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.1478, allocations: 53.05 kB / 0.6676 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1478, allocations: 4.031 kB / 0.6676 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1478, allocations: 4 kB / 0.6676 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1478, allocations: 0 / 0.6676 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.1479, allocations: 157.7 kB / 0.6677 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1479, allocations: 3.938 kB / 0.6677 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.148, allocations: 7.938 kB / 0.6678 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.148, allocations: 0 / 0.6678 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.148, allocations: 0 / 0.6678 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.148, allocations: 0 / 0.6678 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.148, allocations: 0 / 0.6678 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.1481, allocations: 77.11 kB / 0.6678 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.1482, allocations: 85.08 kB / 0.6679 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.1482, allocations: 3.938 kB / 0.6679 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.88e-05/0.1482, allocations: 0 / 0.6679 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.1482, allocations: 7.984 kB / 0.6679 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.1482, allocations: 4 kB / 0.6679 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.239e-05/0.1483, allocations: 79.28 kB / 0.668 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1483, allocations: 3.938 kB / 0.668 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001708/0.1485, allocations: 12.09 kB / 0.668 GB, free: 2.688 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001034/0.1486, allocations: 96.58 kB / 0.6681 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.421e-05/0.1487, allocations: 15.92 kB / 0.6681 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1487, allocations: 0 / 0.6681 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.438e-05/0.1487, allocations: 7.984 kB / 0.6681 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.1489, allocations: 7.938 kB / 0.6681 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.1491, allocations: 147.2 kB / 0.6683 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1494, allocations: 0.6768 MB / 0.6689 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.1494, allocations: 7.438 kB / 0.6689 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of SimCode: time 1.513e-06/0.1494, allocations: 0 / 0.6689 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of Templates: time 0.001753/0.1512, allocations: 0.5153 MB / 0.6694 GB, free: 1.148 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)