Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.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.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4") translateModel(IDEAS.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 180.9 kB / 7.651 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.7557/0.7557, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.492/1.492, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.001108/0.001108, allocations: 98.55 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.614e-05, allocations: 4 kB / 0.5535 GB, free: 9.043 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4846/0.4846, allocations: 82.3 MB / 0.6338 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.657/5.141, allocations: 1.914 GB / 2.547 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/5.142, allocations: 91.12 kB / 2.548 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.125/11.27, allocations: 1.454 GB / 4.002 GB, free: 78.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.003e-06/11.27, allocations: 0 / 4.002 GB, free: 78.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001254/11.27, allocations: 35.77 kB / 4.002 GB, free: 78.09 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005329/11.27, allocations: 1.889 MB / 4.004 GB, free: 77.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/11.27, allocations: 11.69 kB / 4.004 GB, free: 77.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/11.28, allocations: 0.5134 MB / 4.004 GB, free: 77.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/11.28, allocations: 1.228 MB / 4.006 GB, free: 77.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008916/11.28, allocations: 243.5 kB / 4.006 GB, free: 77.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/11.28, allocations: 61.03 kB / 4.006 GB, free: 77.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001388/11.28, allocations: 0.7042 MB / 4.007 GB, free: 77.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/11.28, allocations: 1.063 MB / 4.008 GB, free: 76.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/11.28, allocations: 0 / 4.008 GB, free: 76.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-05/11.28, allocations: 7.672 kB / 4.008 GB, free: 76.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.557e-05/11.28, allocations: 44.45 kB / 4.008 GB, free: 76.88 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007763/11.29, allocations: 6.391 MB / 4.014 GB, free: 72.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009009/11.29, allocations: 466.5 kB / 4.014 GB, free: 72.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/11.29, allocations: 178.6 kB / 4.015 GB, free: 72.72 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000391/11.29, allocations: 288.7 kB / 4.015 GB, free: 72.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/11.29, allocations: 35.47 kB / 4.015 GB, free: 72.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.366e-06/11.29, allocations: 1.531 kB / 4.015 GB, free: 72.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.00131/11.29, allocations: 499.1 kB / 4.015 GB, free: 72.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/11.29, allocations: 59.11 kB / 4.015 GB, free: 72.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/11.29, allocations: 0.8259 MB / 4.016 GB, free: 72.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.8e-05/11.3, allocations: 31.69 kB / 4.016 GB, free: 72.06 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004751/11.3, allocations: 0.6933 MB / 4.017 GB, free: 71.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/11.3, allocations: 112 kB / 4.017 GB, free: 71.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/11.3, allocations: 0 / 4.017 GB, free: 71.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.788e-05/11.3, allocations: 338.2 kB / 4.017 GB, free: 71.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/11.3, allocations: 186.7 kB / 4.017 GB, free: 71.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/11.3, allocations: 0.555 MB / 4.018 GB, free: 71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/11.3, allocations: 294.6 kB / 4.018 GB, free: 71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/11.3, allocations: 5.625 kB / 4.018 GB, free: 71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001126/11.3, allocations: 0.7465 MB / 4.019 GB, free: 70.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009924/11.3, allocations: 4.106 MB / 4.023 GB, free: 66.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/11.3, allocations: 6.719 kB / 4.023 GB, free: 66.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/11.3, allocations: 20.33 kB / 4.023 GB, free: 66.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/11.3, allocations: 206.7 kB / 4.023 GB, free: 66.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/11.3, allocations: 24.73 kB / 4.023 GB, free: 66.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/11.3, allocations: 177.1 kB / 4.023 GB, free: 66.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.049e-05/11.3, allocations: 43.44 kB / 4.024 GB, free: 66.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/11.3, allocations: 5.922 kB / 4.024 GB, free: 66.62 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001041/11.3, allocations: 0.6096 MB / 4.024 GB, free: 66.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/11.3, allocations: 11.72 kB / 4.024 GB, free: 66.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/11.3, allocations: 20.86 kB / 4.024 GB, free: 66.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007551/11.3, allocations: 205.1 kB / 4.024 GB, free: 66.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/11.3, allocations: 24.19 kB / 4.024 GB, free: 66.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/11.3, allocations: 144.5 kB / 4.024 GB, free: 66.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.138e-05/11.3, allocations: 45.8 kB / 4.025 GB, free: 66.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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 0.0002119/11.3, allocations: 135.3 kB / 4.025 GB, free: 66.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/11.3, allocations: 110.8 kB / 4.025 GB, free: 66.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009956/11.31, allocations: 490.5 kB / 4.025 GB, free: 66.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/11.31, allocations: 3.906 kB / 4.025 GB, free: 66.37 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/11.31, allocations: 3.375 kB / 4.025 GB, free: 66.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/11.31, allocations: 0 / 4.025 GB, free: 66.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/11.31, allocations: 1.663 MB / 4.027 GB, free: 65.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/11.31, allocations: 3.844 kB / 4.027 GB, free: 65.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/11.31, allocations: 116.6 kB / 4.027 GB, free: 65.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/11.31, allocations: 7.094 kB / 4.027 GB, free: 65.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/11.31, allocations: 6.781 kB / 4.027 GB, free: 65.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/11.31, allocations: 11.09 kB / 4.027 GB, free: 65.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/11.31, allocations: 9.812 kB / 4.027 GB, free: 65.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008149/11.31, allocations: 0.8229 MB / 4.028 GB, free: 65.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/11.31, allocations: 252.7 kB / 4.028 GB, free: 65.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/11.31, allocations: 3.812 kB / 4.028 GB, free: 65.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009043/11.31, allocations: 110.6 kB / 4.028 GB, free: 65.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/11.31, allocations: 37.75 kB / 4.028 GB, free: 65.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/11.31, allocations: 21.27 kB / 4.028 GB, free: 65.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000777/11.31, allocations: 0.6175 MB / 4.029 GB, free: 65.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/11.31, allocations: 0 / 4.029 GB, free: 65.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002931/11.32, allocations: 0.8061 MB / 4.03 GB, free: 65.03 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.005144/11.32, allocations: 3.496 MB / 4.033 GB, free: 63.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001687/11.32, allocations: 0.8022 MB / 4.034 GB, free: 63.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/11.32, allocations: 1.219 kB / 4.034 GB, free: 63.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/11.32, allocations: 177.8 kB / 4.034 GB, free: 63.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/11.32, allocations: 400.2 kB / 4.034 GB, free: 63.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/11.33, allocations: 1.61 MB / 4.036 GB, free: 63.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/11.33, allocations: 1.221 MB / 4.037 GB, free: 62.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001818/11.33, allocations: 370.5 kB / 4.037 GB, free: 62.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/11.33, allocations: 60.72 kB / 4.038 GB, free: 62.37 MB / 0.7136 GB Notification: Performance of SimCode: time 6.92e-07/11.33, allocations: 0 / 4.038 GB, free: 62.37 MB / 0.7136 GB Notification: Performance of Templates: time 0.05319/11.39, allocations: 32.98 MB / 4.07 GB, free: 60.62 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)