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.001467/0.001466, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001512/0.001512, allocations: 192.5 kB / 16.25 MB, free: 6.621 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.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9284/0.9284, allocations: 135.6 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 67.73 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1509, allocations: 81.02 MB / 0.5845 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.00162/0.1526, allocations: 0.58 MB / 0.5851 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001556/0.1527, allocations: 43.88 kB / 0.5851 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.1528, allocations: 0 / 0.5851 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.1528, allocations: 0 / 0.5851 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.1529, allocations: 3.938 kB / 0.5851 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.028e-05/0.153, allocations: 7.984 kB / 0.5851 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.201e-05/0.153, allocations: 11.92 kB / 0.5851 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.1531, allocations: 0 / 0.5851 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.1531, allocations: 11.94 kB / 0.5851 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.1532, allocations: 11.98 kB / 0.5851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1532, allocations: 0 / 0.5851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-06/0.1532, allocations: 0 / 0.5851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.1532, allocations: 4 kB / 0.5852 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.1533, allocations: 3.938 kB / 0.5852 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.198e-05/0.1533, allocations: 19.91 kB / 0.5852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1533, allocations: 0 / 0.5852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1533, allocations: 0 / 0.5852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1533, allocations: 0 / 0.5852 GB, free: 3.605 MB / 494.1 MB 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.0004123/0.1538, allocations: 331.5 kB / 0.5855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1538, allocations: 8.031 kB / 0.5855 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.1538, allocations: 0.9375 kB / 0.5855 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.154, allocations: 184.5 kB / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.154, allocations: 384 / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.1541, allocations: 384 / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.869e-05/0.1541, allocations: 37.81 kB / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.1541, allocations: 0 / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.1541, allocations: 0 / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1542, allocations: 3.984 kB / 0.5857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.832e-05/0.1542, allocations: 8 kB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.1543, allocations: 153.7 kB / 0.5859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.1544, allocations: 22.52 kB / 0.5859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.1544, allocations: 8.844 kB / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.1544, allocations: 0 / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.1545, allocations: 38.56 kB / 0.5859 GB, free: 2.664 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.1545, allocations: 0 / 0.5859 GB, free: 2.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.1546, allocations: 45.69 kB / 0.586 GB, free: 2.613 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.1547, allocations: 51.41 kB / 0.586 GB, free: 2.551 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.1547, allocations: 113.8 kB / 0.5861 GB, free: 2.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.1548, allocations: 25.7 kB / 0.5862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.1548, allocations: 80.14 kB / 0.5862 GB, free: 2.316 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.1548, allocations: 11.84 kB / 0.5862 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.1549, allocations: 17.7 kB / 0.5863 GB, free: 2.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.155, allocations: 315 kB / 0.5866 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.155, allocations: 4 kB / 0.5866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.1551, allocations: 21.7 kB / 0.5866 GB, free: 1.934 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.1551, allocations: 21.72 kB / 0.5866 GB, free: 1.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1551, allocations: 0 / 0.5866 GB, free: 1.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.094e-05/0.1552, allocations: 53.91 kB / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1552, allocations: 14 kB / 0.5867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1552, allocations: 3.938 kB / 0.5867 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1553, allocations: 4 kB / 0.5867 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.1553, allocations: 7.984 kB / 0.5867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1553, allocations: 4 kB / 0.5867 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.1554, allocations: 0 / 0.5867 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.1554, allocations: 0 / 0.5867 GB, free: 1.816 MB / 494.1 MB 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 7.302e-05/0.1554, allocations: 109.8 kB / 0.5868 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.1555, allocations: 3.938 kB / 0.5868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.1556, allocations: 60.73 kB / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1556, allocations: 0 / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1556, allocations: 0 / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1556, allocations: 0 / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.1557, allocations: 153.7 kB / 0.587 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1557, allocations: 0 / 0.587 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.1558, allocations: 7.938 kB / 0.587 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1558, allocations: 0 / 0.587 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1558, allocations: 0 / 0.587 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1558, allocations: 4 kB / 0.587 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1558, allocations: 4.031 kB / 0.587 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.1559, allocations: 80.95 kB / 0.5871 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.156, allocations: 81.05 kB / 0.5872 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.156, allocations: 4.031 kB / 0.5872 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.628e-05/0.156, allocations: 4 kB / 0.5872 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.156, allocations: 3.984 kB / 0.5872 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.1561, allocations: 96 / 0.5872 GB, free: 1.207 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.507e-05/0.1561, allocations: 87.28 kB / 0.5873 GB, free: 1.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1561, allocations: 0 / 0.5873 GB, free: 1.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001855/0.1563, allocations: 8 kB / 0.5873 GB, free: 1.113 MB / 494.1 MB 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 9.544e-05/0.1564, allocations: 95.23 kB / 0.5874 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.564e-05/0.1565, allocations: 11.94 kB / 0.5874 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1565, allocations: 4 kB / 0.5874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.773e-05/0.1565, allocations: 8.109 kB / 0.5874 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1567, allocations: 8.062 kB / 0.5874 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.1569, allocations: 119.1 kB / 0.5875 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1572, allocations: 0.6768 MB / 0.5882 GB, free: 136 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.695e-05/0.1572, allocations: 7.938 kB / 0.5882 GB, free: 128 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.1573, allocations: 11.44 kB / 0.5882 GB, free: 116 kB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1573, allocations: 0 / 0.5882 GB, free: 116 kB / 494.1 MB Notification: Performance of Templates: time 0.002232/0.1595, allocations: 314.2 kB / 0.5885 GB, free: 15.81 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)