Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001203/0.001203, allocations: 112.6 kB / 16.37 MB, free: 6 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.001238/0.001238, allocations: 196 kB / 17.31 MB, free: 5.613 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7837/0.7837, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 67.89 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.432, allocations: 80.18 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001668/0.4337, allocations: 0.5183 MB / 0.582 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001634/0.4339, allocations: 46.36 kB / 0.582 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.4339, allocations: 0 / 0.582 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.434, allocations: 0.7812 kB / 0.582 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.4341, allocations: 8.875 kB / 0.5821 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.02e-05/0.4341, allocations: 7.75 kB / 0.5821 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.137e-05/0.4342, allocations: 7.984 kB / 0.5821 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.4343, allocations: 2.5 kB / 0.5821 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.209e-05/0.4343, allocations: 1.938 kB / 0.5821 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.4344, allocations: 13.11 kB / 0.5821 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.4344, allocations: 5.031 kB / 0.5821 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.4344, allocations: 1.062 kB / 0.5821 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.4345, allocations: 10.14 kB / 0.5821 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.4345, allocations: 2.688 kB / 0.5821 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.241e-05/0.4345, allocations: 11.86 kB / 0.5821 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4345, allocations: 0 / 0.5821 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4346, allocations: 1.406 kB / 0.5821 GB, free: 27.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.4346, allocations: 1.344 kB / 0.5821 GB, free: 27.11 MB / 446.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.0003048/0.4349, allocations: 329 kB / 0.5824 GB, free: 26.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4349, allocations: 14.06 kB / 0.5824 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.4349, allocations: 2.031 kB / 0.5824 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.4351, allocations: 174 kB / 0.5826 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.4351, allocations: 2.219 kB / 0.5826 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.4351, allocations: 1.625 kB / 0.5826 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.253e-05/0.4352, allocations: 44.03 kB / 0.5827 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.4352, allocations: 0 / 0.5827 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.4352, allocations: 0 / 0.5827 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4352, allocations: 1.531 kB / 0.5827 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.617e-05/0.4353, allocations: 6.219 kB / 0.5827 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.4354, allocations: 153.5 kB / 0.5828 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.73e-05/0.4354, allocations: 23.03 kB / 0.5828 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.4354, allocations: 7.016 kB / 0.5828 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.4354, allocations: 1.375 kB / 0.5828 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.4355, allocations: 35.84 kB / 0.5829 GB, free: 26.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.4355, allocations: 1.406 kB / 0.5829 GB, free: 26.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.4356, allocations: 44.19 kB / 0.5829 GB, free: 26.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.4356, allocations: 53.88 kB / 0.583 GB, free: 26.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.4357, allocations: 111.5 kB / 0.5831 GB, free: 26.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.4357, allocations: 34.8 kB / 0.5831 GB, free: 25.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.03e-05/0.4357, allocations: 81.27 kB / 0.5832 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.4358, allocations: 9.719 kB / 0.5832 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.4358, allocations: 16.94 kB / 0.5832 GB, free: 25.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.4358, allocations: 312.8 kB / 0.5835 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.4359, allocations: 3.688 kB / 0.5835 GB, free: 25.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.039e-05/0.4359, allocations: 21.7 kB / 0.5835 GB, free: 25.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.4359, allocations: 24.84 kB / 0.5836 GB, free: 25.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.4359, allocations: 0 / 0.5836 GB, free: 25.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.991e-05/0.436, allocations: 46.28 kB / 0.5836 GB, free: 25.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.436, allocations: 4.656 kB / 0.5836 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.436, allocations: 6.891 kB / 0.5836 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.436, allocations: 0 / 0.5836 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.4361, allocations: 7.656 kB / 0.5836 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.4361, allocations: 0.8125 kB / 0.5836 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.4361, allocations: 2.531 kB / 0.5836 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.4362, allocations: 1.188 kB / 0.5836 GB, free: 25.46 MB / 446.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 4.871e-05/0.4362, allocations: 113.6 kB / 0.5837 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.4362, allocations: 5.125 kB / 0.5837 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.372e-05/0.4363, allocations: 52.36 kB / 0.5838 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4363, allocations: 1.062 kB / 0.5838 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4363, allocations: 0 / 0.5838 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4363, allocations: 0 / 0.5838 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.228e-05/0.4364, allocations: 160.6 kB / 0.5839 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4364, allocations: 0 / 0.5839 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-05/0.4365, allocations: 15.62 kB / 0.584 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4365, allocations: 0 / 0.584 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.4365, allocations: 2 kB / 0.584 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4365, allocations: 0 / 0.584 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4365, allocations: 2.062 kB / 0.584 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.723e-05/0.4366, allocations: 80.55 kB / 0.584 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.4366, allocations: 81.05 kB / 0.5841 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.4366, allocations: 1.219 kB / 0.5841 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.036e-05/0.4367, allocations: 7.016 kB / 0.5841 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.4367, allocations: 1.094 kB / 0.5841 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.4367, allocations: 0 / 0.5841 GB, free: 24.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.017e-05/0.4367, allocations: 95 kB / 0.5842 GB, free: 24.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4367, allocations: 2.281 kB / 0.5842 GB, free: 24.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001775/0.4369, allocations: 2.188 kB / 0.5842 GB, free: 24.82 MB / 446.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 8.52e-05/0.437, allocations: 97.42 kB / 0.5843 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.4e-05/0.4371, allocations: 17.66 kB / 0.5843 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4371, allocations: 0.875 kB / 0.5843 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.4371, allocations: 9.578 kB / 0.5843 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.4373, allocations: 9.594 kB / 0.5843 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.4375, allocations: 113.9 kB / 0.5845 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.4376, allocations: 0.6837 MB / 0.5851 GB, free: 23.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.727e-05/0.4376, allocations: 1.438 kB / 0.5851 GB, free: 23.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.4377, allocations: 8.844 kB / 0.5851 GB, free: 23.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4377, allocations: 3.938 kB / 0.5851 GB, free: 23.88 MB / 446.1 MB Notification: Performance of Templates: time 0.002068/0.4397, allocations: 310.8 kB / 0.5854 GB, free: 23.74 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)