Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009986/0.009986, allocations: 175.9 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.948/1.948, allocations: 194.5 MB / 210.3 MB, free: 7.797 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00281/0.00281, allocations: 104.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2764/0.2764, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005789/0.000579, allocations: 11.41 kB / 406.3 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1102, allocations: 54.87 MB / 461.1 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.266/8.376, allocations: 2.656 GB / 3.106 GB, free: 2.855 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/8.376, allocations: 75.72 kB / 3.106 GB, free: 2.816 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106/11.48, allocations: 0.5749 GB / 3.681 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.494e-06/11.48, allocations: 0 / 3.681 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002368/11.48, allocations: 43.92 kB / 3.681 GB, free: 3.668 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.0156/11.5, allocations: 3.041 MB / 3.684 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/11.5, allocations: 8.031 kB / 3.684 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001009/11.5, allocations: 194.7 kB / 3.684 GB, free: 364 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4507/11.95, allocations: 0.543 MB / 3.685 GB, free: 41.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005955/11.96, allocations: 1.453 MB / 3.686 GB, free: 40.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/11.96, allocations: 111.6 kB / 3.686 GB, free: 40.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006963/11.96, allocations: 123.3 kB / 3.686 GB, free: 40.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009273/11.97, allocations: 2.279 MB / 3.688 GB, free: 40.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.717e-05/11.97, allocations: 5.266 kB / 3.688 GB, free: 40.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002497/11.97, allocations: 58.02 kB / 3.689 GB, free: 40.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002216/11.97, allocations: 105.7 kB / 3.689 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008354/11.98, allocations: 2.056 MB / 3.691 GB, free: 40.36 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0191/11.99, allocations: 9.645 MB / 3.7 GB, free: 34.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005952/12, allocations: 1.378 MB / 3.701 GB, free: 34.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06143/12.06, allocations: 18.79 MB / 3.72 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004207/12.07, allocations: 1.032 MB / 3.721 GB, free: 22.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 5.56e-06/12.07, allocations: 3.281 kB / 3.721 GB, free: 22.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=104): time 0.0207/12.09, allocations: 5.171 MB / 3.726 GB, free: 21.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/12.09, allocations: 275.3 kB / 3.726 GB, free: 21.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/12.09, allocations: 0.985 MB / 3.727 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003126/12.09, allocations: 43.14 kB / 3.727 GB, free: 21.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006739/12.09, allocations: 0.6596 MB / 3.728 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005041/12.09, allocations: 362.1 kB / 3.728 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/12.09, allocations: 24.62 kB / 3.728 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001159/12.09, allocations: 365.3 kB / 3.728 GB, free: 20.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/12.09, allocations: 0.6808 MB / 3.729 GB, free: 20.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/12.1, allocations: 1.007 MB / 3.73 GB, free: 20.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/12.1, allocations: 0.8353 MB / 3.731 GB, free: 20.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/12.1, allocations: 0 / 3.731 GB, free: 20.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006024/12.1, allocations: 2.005 MB / 3.733 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007344/12.1, allocations: 3.277 MB / 3.736 GB, free: 16.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.271e-05/12.1, allocations: 10.97 kB / 3.736 GB, free: 16.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008213/12.11, allocations: 148.1 kB / 3.736 GB, free: 16.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/12.11, allocations: 318.8 kB / 3.736 GB, free: 16.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/12.11, allocations: 1.251 MB / 3.738 GB, free: 31.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/12.11, allocations: 157.4 kB / 3.738 GB, free: 31.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/12.11, allocations: 66.2 kB / 3.738 GB, free: 31.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/12.11, allocations: 3.656 kB / 3.738 GB, free: 31.69 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00568/12.12, allocations: 1.836 MB / 3.74 GB, free: 31.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/12.12, allocations: 7.625 kB / 3.74 GB, free: 31.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008443/12.12, allocations: 146 kB / 3.74 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/12.12, allocations: 322.2 kB / 3.74 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/12.12, allocations: 1.26 MB / 3.741 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/12.13, allocations: 150.6 kB / 3.742 GB, free: 30.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/12.13, allocations: 63.83 kB / 3.742 GB, free: 30.56 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 17 (pipe3.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,pipe1.state_a.phase,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,pipe3.state_b.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001368/12.13, allocations: 0.5464 MB / 3.742 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/12.13, allocations: 131.7 kB / 3.742 GB, free: 30.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/12.14, allocations: 4.741 MB / 3.747 GB, free: 29.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.429e-05/12.14, allocations: 55.97 kB / 3.747 GB, free: 29.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/12.14, allocations: 3.953 kB / 3.747 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01081/12.15, allocations: 3.971 MB / 3.751 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/12.17, allocations: 6.737 MB / 3.757 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/12.17, allocations: 0 / 3.757 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/12.17, allocations: 244.6 kB / 3.758 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/12.17, allocations: 190.4 kB / 3.758 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002272/12.17, allocations: 43.48 kB / 3.758 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/12.18, allocations: 1.29 MB / 3.759 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/12.18, allocations: 4.109 kB / 3.759 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/12.19, allocations: 4.377 MB / 3.763 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/12.19, allocations: 0.53 MB / 3.764 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005424/12.19, allocations: 29.94 kB / 3.764 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/12.19, allocations: 120.9 kB / 3.764 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003568/12.19, allocations: 90.55 kB / 3.764 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/12.19, allocations: 40 kB / 3.764 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002514/12.2, allocations: 0.8708 MB / 3.765 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.11e-07/12.2, allocations: 3.219 kB / 3.765 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01234/12.21, allocations: 2.184 MB / 3.767 GB, free: 26.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,valveIncompressible1.filter.x[1],valveIncompressible1.filter.x[2],pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 36 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.region3boundary,$cse25.region3boundary,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled) * Number of discrete states: 6 (valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 15 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02355/12.23, allocations: 7.181 MB / 3.774 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008995/12.24, allocations: 3.237 MB / 3.777 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/12.24, allocations: 6.938 kB / 3.777 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003258/12.24, allocations: 1.483 MB / 3.779 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005198/12.25, allocations: 0.5878 MB / 3.779 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7831/13.03, allocations: 134.8 MB / 3.911 GB, free: 61.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/13.03, allocations: 1.719 MB / 3.913 GB, free: 60.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004414/13.04, allocations: 1.565 MB / 3.914 GB, free: 60.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/13.04, allocations: 0.847 MB / 3.915 GB, free: 60.59 MB / 0.5261 GB Notification: Performance of SimCode: time 1.373e-06/13.04, allocations: 0 / 3.915 GB, free: 60.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2263/13.27, allocations: 81.81 MB / 3.995 GB, free: 57.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/13.27, allocations: 250.7 kB / 3.995 GB, free: 56.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/19.95, allocations: 1.969 kB / 3.995 GB, free: 56.82 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2_res.mat does not exist to compare? outputFormat=mat