Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8") translateModel(Annex60.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00104/0.001041, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001057/0.001057, allocations: 197.7 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 222 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3724/0.3724, allocations: 54.93 MB / 324.3 MB, free: 48 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 64.53 kB / 394.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1203, allocations: 59.58 MB / 454.3 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example8): time 0.001819/0.1222, allocations: 0.5714 MB / 454.8 MB, free: 56 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001233/0.1223, allocations: 11.97 kB / 454.8 MB, free: 44 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.1223, allocations: 4 kB / 454.8 MB, free: 40 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.1224, allocations: 3.938 kB / 454.9 MB, free: 36 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.1225, allocations: 4 kB / 454.9 MB, free: 32 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.615e-06/0.1225, allocations: 0 / 454.9 MB, free: 32 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.599e-05/0.1226, allocations: 7.984 kB / 454.9 MB, free: 24 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.1226, allocations: 0 / 454.9 MB, free: 24 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.39e-05/0.1226, allocations: 3.938 kB / 454.9 MB, free: 20 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.305e-05/0.1227, allocations: 4 kB / 454.9 MB, free: 16 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1227, allocations: 0 / 454.9 MB, free: 16 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-06/0.1227, allocations: 0 / 454.9 MB, free: 16 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.1227, allocations: 3.984 kB / 454.9 MB, free: 12 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.331e-05/0.1227, allocations: 4 kB / 454.9 MB, free: 8 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 3.529e-05/0.1228, allocations: 0 / 454.9 MB, free: 8 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1228, allocations: 0 / 454.9 MB, free: 8 kB / 382.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1228, allocations: 3.938 kB / 454.9 MB, free: 4 kB / 382.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1228, allocations: 0 / 454.9 MB, free: 4 kB / 382.1 MB 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.1742/0.297, allocations: 313.4 kB / 455.2 MB, free: 39.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2971, allocations: 10.16 kB / 455.2 MB, free: 39.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.2971, allocations: 1.625 kB / 455.2 MB, free: 39.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.149e-05/0.2972, allocations: 165.1 kB / 455.4 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.2972, allocations: 1.312 kB / 455.4 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.2972, allocations: 3.219 kB / 455.4 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.216e-05/0.2973, allocations: 47.14 kB / 455.4 MB, free: 39.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2973, allocations: 192 / 455.4 MB, free: 39.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.2973, allocations: 6.562 kB / 455.4 MB, free: 39.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2973, allocations: 5.094 kB / 455.4 MB, free: 39.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.248e-05/0.2974, allocations: 3.969 kB / 455.4 MB, free: 39.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.2975, allocations: 155.5 kB / 455.6 MB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.156e-05/0.2975, allocations: 38.59 kB / 455.6 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.2976, allocations: 13.25 kB / 455.6 MB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.2976, allocations: 2.781 kB / 455.6 MB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.2976, allocations: 37.94 kB / 455.7 MB, free: 38.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.2976, allocations: 2.016 kB / 455.7 MB, free: 38.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001336/0.2978, allocations: 46.83 kB / 455.7 MB, free: 38.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.2978, allocations: 81.25 kB / 455.8 MB, free: 38.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.586e-05/0.2978, allocations: 93.73 kB / 455.9 MB, free: 38.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.2978, allocations: 26.2 kB / 455.9 MB, free: 38.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.497e-06/0.2978, allocations: 82.83 kB / 456 MB, free: 38.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.2979, allocations: 5.516 kB / 456 MB, free: 38.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.2979, allocations: 19.78 kB / 456 MB, free: 38.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.921e-05/0.298, allocations: 313 kB / 456.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.298, allocations: 3.406 kB / 456.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.308e-05/0.298, allocations: 12.44 kB / 456.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/0.298, allocations: 21.28 kB / 456.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.298, allocations: 7.125 kB / 456.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.454e-05/0.2981, allocations: 38.39 kB / 456.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2981, allocations: 7.938 kB / 456.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2981, allocations: 1.188 kB / 456.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2982, allocations: 4.625 kB / 456.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.2982, allocations: 4.047 kB / 456.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2982, allocations: 7.906 kB / 456.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.2983, allocations: 0 / 456.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.2983, allocations: 2.547 kB / 456.4 MB, free: 38.12 MB / 382.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.392e-05/0.2983, allocations: 115.1 kB / 456.5 MB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-06/0.2983, allocations: 0.8125 kB / 456.5 MB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.132e-05/0.2984, allocations: 50.02 kB / 456.6 MB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2985, allocations: 3.141 kB / 456.6 MB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2985, allocations: 3.438 kB / 456.6 MB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2985, allocations: 2.531 kB / 456.6 MB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.543e-05/0.2985, allocations: 147.8 kB / 456.7 MB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2985, allocations: 0 / 456.7 MB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.2986, allocations: 6.734 kB / 456.8 MB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2986, allocations: 0 / 456.8 MB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.2986, allocations: 7.75 kB / 456.8 MB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2986, allocations: 2.578 kB / 456.8 MB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2986, allocations: 1.406 kB / 456.8 MB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.224e-05/0.2987, allocations: 70.7 kB / 456.8 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.2987, allocations: 80.83 kB / 456.9 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.2987, allocations: 4.438 kB / 456.9 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.819e-05/0.2987, allocations: 2.281 kB / 456.9 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.2987, allocations: 3.875 kB / 456.9 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.2988, allocations: 4 kB / 456.9 MB, free: 37.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.2e-05/0.2988, allocations: 75.28 kB / 457 MB, free: 37.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.2988, allocations: 0 / 457 MB, free: 37.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001821/0.299, allocations: 7.75 kB / 457 MB, free: 37.54 MB / 382.1 MB 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 7.443e-05/0.299, allocations: 99.67 kB / 457.1 MB, free: 37.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.561e-05/0.2991, allocations: 9.188 kB / 457.1 MB, free: 37.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2991, allocations: 0 / 457.1 MB, free: 37.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.937e-06/0.2991, allocations: 6.297 kB / 457.1 MB, free: 37.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.2993, allocations: 3.609 kB / 457.1 MB, free: 37.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001769/0.2995, allocations: 97.36 kB / 457.2 MB, free: 37.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.33e-05/0.2996, allocations: 0.6722 MB / 457.9 MB, free: 36.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.878e-05/0.2996, allocations: 3.875 kB / 457.9 MB, free: 36.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.2996, allocations: 8.75 kB / 457.9 MB, free: 36.65 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2996, allocations: 0 / 457.9 MB, free: 36.65 MB / 382.1 MB Notification: Performance of Templates: time 0.001588/0.3012, allocations: 188.1 kB / 458.1 MB, free: 36.65 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe 2>&1)