Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006153/0.006153, allocations: 102.2 kB / 15.73 MB, free: 6.008 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.001391/0.001391, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7816/0.7816, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 63.34 kB / 0.5856 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1374, allocations: 80.93 MB / 0.6646 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001628/0.1391, allocations: 0.5042 MB / 0.6651 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.1392, allocations: 11.91 kB / 0.6651 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.1393, allocations: 4 kB / 0.6651 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.1393, allocations: 0 / 0.6651 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.1394, allocations: 0 / 0.6651 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.006e-06/0.1394, allocations: 0 / 0.6651 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.595e-05/0.1395, allocations: 3.938 kB / 0.6651 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.952e-05/0.1396, allocations: 19.92 kB / 0.6652 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.334e-05/0.1396, allocations: 4 kB / 0.6652 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.1396, allocations: 0 / 0.6652 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1396, allocations: 0 / 0.6652 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.34e-06/0.1396, allocations: 0 / 0.6652 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.1397, allocations: 0 / 0.6652 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.382e-05/0.1397, allocations: 4 kB / 0.6652 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.362e-05/0.1397, allocations: 3.984 kB / 0.6652 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1397, allocations: 3.938 kB / 0.6652 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1397, allocations: 0 / 0.6652 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1398, allocations: 0 / 0.6652 GB, free: 5.234 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002603/0.14, allocations: 319.5 kB / 0.6655 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1401, allocations: 9.109 kB / 0.6655 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.1401, allocations: 4.938 kB / 0.6655 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.557e-05/0.1402, allocations: 160.4 kB / 0.6656 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.1402, allocations: 384 / 0.6656 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.1402, allocations: 8.375 kB / 0.6657 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.93e-05/0.1403, allocations: 51.28 kB / 0.6657 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.1403, allocations: 0 / 0.6657 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.1403, allocations: 0 / 0.6657 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1404, allocations: 7.984 kB / 0.6657 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.1404, allocations: 4 kB / 0.6657 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.1405, allocations: 150.6 kB / 0.6659 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.779e-05/0.1406, allocations: 43.67 kB / 0.6659 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.1406, allocations: 17.84 kB / 0.6659 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1407, allocations: 7.938 kB / 0.6659 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.1407, allocations: 30.56 kB / 0.666 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1407, allocations: 0 / 0.666 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001377/0.1408, allocations: 49.62 kB / 0.666 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1409, allocations: 81.05 kB / 0.6661 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.791e-05/0.1409, allocations: 93.8 kB / 0.6662 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.141, allocations: 25.95 kB / 0.6662 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.236e-05/0.141, allocations: 84.14 kB / 0.6663 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.141, allocations: 11.84 kB / 0.6663 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.141, allocations: 14.06 kB / 0.6663 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.1412, allocations: 310.8 kB / 0.6666 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.1412, allocations: 4 kB / 0.6666 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.1412, allocations: 13.7 kB / 0.6666 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/0.1412, allocations: 25.78 kB / 0.6666 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1413, allocations: 0 / 0.6666 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.116e-05/0.1413, allocations: 41.58 kB / 0.6667 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1413, allocations: 4 kB / 0.6667 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1413, allocations: 4 kB / 0.6667 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1414, allocations: 0 / 0.6667 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.1414, allocations: 11.92 kB / 0.6667 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1414, allocations: 0 / 0.6667 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.1415, allocations: 4.062 kB / 0.6667 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.1415, allocations: 0 / 0.6667 GB, free: 3.418 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 6.829e-05/0.1416, allocations: 113.8 kB / 0.6668 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.1416, allocations: 3.938 kB / 0.6668 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.1417, allocations: 48.75 kB / 0.6669 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1417, allocations: 0 / 0.6669 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1417, allocations: 0 / 0.6669 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1417, allocations: 8.062 kB / 0.6669 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.183e-05/0.1418, allocations: 149.6 kB / 0.667 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1418, allocations: 0 / 0.667 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.1418, allocations: 7.938 kB / 0.667 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1418, allocations: 0 / 0.667 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1419, allocations: 4 kB / 0.667 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1419, allocations: 0 / 0.667 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1419, allocations: 0 / 0.667 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.489e-05/0.1419, allocations: 73.98 kB / 0.6671 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.142, allocations: 81.05 kB / 0.6672 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.142, allocations: 8 kB / 0.6672 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.705e-05/0.142, allocations: 4 kB / 0.6672 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.1421, allocations: 3.938 kB / 0.6672 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1421, allocations: 7.984 kB / 0.6672 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.326e-05/0.1421, allocations: 75.28 kB / 0.6673 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1421, allocations: 0 / 0.6673 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001788/0.1423, allocations: 4.031 kB / 0.6673 GB, free: 2.727 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 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 9.642e-05/0.1424, allocations: 96.58 kB / 0.6674 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.01e-05/0.1425, allocations: 4 kB / 0.6674 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1425, allocations: 3.938 kB / 0.6674 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.697e-05/0.1425, allocations: 11.94 kB / 0.6674 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.1426, allocations: 9.5 kB / 0.6674 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002044/0.1428, allocations: 97.94 kB / 0.6675 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.1431, allocations: 0.6729 MB / 0.6681 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.1431, allocations: 0 / 0.6681 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.1431, allocations: 7.438 kB / 0.6681 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of SimCode: time 1.513e-06/0.1431, allocations: 0 / 0.6681 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of Templates: time 0.001888/0.145, allocations: 201.2 kB / 0.6683 GB, free: 1.566 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)