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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.002388/0.002388, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8053/0.8053, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0009249/0.0009249, allocations: 100.4 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.025e-05, allocations: 4 kB / 0.5535 GB, free: 9.062 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4794, allocations: 82.3 MB / 0.6338 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.6299, allocations: 109.8 MB / 0.741 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.6302, allocations: 71.95 kB / 0.7411 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001417/0.6317, allocations: 490.7 kB / 0.7415 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.716e-06/0.6317, allocations: 0 / 0.7415 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.6317, allocations: 0 / 0.7415 GB, free: 12.48 MB / 0.5261 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.0003137/0.632, allocations: 310.6 kB / 0.7418 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.6321, allocations: 12.03 kB / 0.7419 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.6321, allocations: 3.906 kB / 0.7419 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.6324, allocations: 179 kB / 0.742 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.6325, allocations: 0 / 0.742 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.6325, allocations: 0 / 0.742 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.086e-05/0.6325, allocations: 11.92 kB / 0.742 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.358e-05/0.6326, allocations: 33.7 kB / 0.7421 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6326, allocations: 0 / 0.7421 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.6326, allocations: 0 / 0.7421 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.6327, allocations: 0 / 0.7421 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.6328, allocations: 130.3 kB / 0.7422 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.246e-05/0.6329, allocations: 26.53 kB / 0.7422 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.6329, allocations: 12.12 kB / 0.7422 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.633, allocations: 7.984 kB / 0.7422 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.633, allocations: 34.62 kB / 0.7423 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.633, allocations: 0 / 0.7423 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.6331, allocations: 37.62 kB / 0.7423 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.6332, allocations: 55.41 kB / 0.7424 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.6333, allocations: 101 kB / 0.7425 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.6333, allocations: 25.7 kB / 0.7425 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.6333, allocations: 84.12 kB / 0.7426 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.6333, allocations: 3.906 kB / 0.7426 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.6334, allocations: 0 / 0.7426 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6335, allocations: 318.8 kB / 0.7429 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.6335, allocations: 0 / 0.7429 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-05/0.6335, allocations: 17.7 kB / 0.7429 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.219e-05/0.6335, allocations: 8.062 kB / 0.7429 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6336, allocations: 3.938 kB / 0.7429 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.691e-05/0.6336, allocations: 53.58 kB / 0.7429 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.6337, allocations: 4 kB / 0.743 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6337, allocations: 0 / 0.743 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.6337, allocations: 4 kB / 0.743 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.6338, allocations: 4 kB / 0.743 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6338, allocations: 0 / 0.743 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.6338, allocations: 11.98 kB / 0.743 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.6338, allocations: 0 / 0.743 GB, free: 10.82 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.111e-05/0.6339, allocations: 108.9 kB / 0.7431 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.6339, allocations: 3.953 kB / 0.7431 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.6341, allocations: 45.38 kB / 0.7431 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.6341, allocations: 4 kB / 0.7431 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6341, allocations: 256 / 0.7431 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6341, allocations: 0 / 0.7431 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.6342, allocations: 142.3 kB / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6342, allocations: 0 / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-05/0.6343, allocations: 4 kB / 0.7433 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.6343, allocations: 0 / 0.7433 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.6343, allocations: 3.984 kB / 0.7433 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.6343, allocations: 3.953 kB / 0.7433 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6343, allocations: 0 / 0.7433 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.6345, allocations: 73.03 kB / 0.7433 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.6345, allocations: 85.23 kB / 0.7434 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.6345, allocations: 0 / 0.7434 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.361e-05/0.6346, allocations: 7.922 kB / 0.7434 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.6346, allocations: 3.953 kB / 0.7434 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.6346, allocations: 4 kB / 0.7434 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.77e-05/0.6347, allocations: 83.28 kB / 0.7435 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6347, allocations: 0 / 0.7435 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001874/0.6349, allocations: 4 kB / 0.7435 GB, free: 10.17 MB / 0.5261 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 () * 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 (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.0001602/0.635, allocations: 107.2 kB / 0.7436 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.789e-05/0.6351, allocations: 12 kB / 0.7436 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6351, allocations: 0 / 0.7436 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-05/0.6351, allocations: 11.98 kB / 0.7436 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.6353, allocations: 1.875 kB / 0.7436 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.6355, allocations: 80.62 kB / 0.7437 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.6358, allocations: 0.6807 MB / 0.7444 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.144e-05/0.6359, allocations: 192 / 0.7444 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.6359, allocations: 15.44 kB / 0.7444 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.6359, allocations: 0 / 0.7444 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of Templates: time 0.00207/0.638, allocations: 276.5 kB / 0.7447 GB, free: 8.941 MB / 0.5261 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)