Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01073/0.01073, allocations: 107.2 kB / 15.06 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001198/0.001198, allocations: 185.5 kB / 15.95 MB, free: 5.902 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.986/1.986, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2652/0.2652, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007277/0.0007278, allocations: 12 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1176, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization): time 0.3834/0.5011, allocations: 40.25 MB / 456.3 MB, free: 32.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03697/0.5381, allocations: 22.49 MB / 478.8 MB, free: 29.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.5396, allocations: 35.88 kB / 478.8 MB, free: 29.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.5416, allocations: 0.5018 MB / 479.3 MB, free: 29.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01768/0.5593, allocations: 4.576 MB / 483.9 MB, free: 27.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01549/0.5749, allocations: 4.122 MB / 488 MB, free: 26.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004229/0.5791, allocations: 2.471 MB / 490.5 MB, free: 25.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002443/0.5816, allocations: 0.8543 MB / 491.3 MB, free: 24.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1413/0.7229, allocations: 50.48 MB / 0.5291 GB, free: 9.891 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.09844/0.8214, allocations: 20.06 MB / 0.5487 GB, free: 5.816 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006443/0.8221, allocations: 84 kB / 0.5488 GB, free: 5.734 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03077/0.8529, allocations: 8.229 MB / 0.5568 GB, free: 13.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001811/0.8548, allocations: 0.6311 MB / 0.5574 GB, free: 12.86 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.8561, allocations: 452.6 kB / 0.5579 GB, free: 12.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01737/0.8735, allocations: 5.278 MB / 0.563 GB, free: 7.129 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8735, allocations: 0 / 0.563 GB, free: 7.129 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.8736, allocations: 0 / 0.563 GB, free: 7.129 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.441e-05/0.8736, allocations: 0 / 0.563 GB, free: 7.129 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.0194/0.893, allocations: 3.086 MB / 0.566 GB, free: 3.992 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.8931, allocations: 12.03 kB / 0.566 GB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/0.8943, allocations: 279.9 kB / 0.5663 GB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.9056, allocations: 0.6845 MB / 0.567 GB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004904/0.9105, allocations: 1.189 MB / 0.5681 GB, free: 1.789 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004308/0.911, allocations: 167.2 kB / 0.5683 GB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007395/0.9118, allocations: 167.9 kB / 0.5685 GB, free: 1.461 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.9244, allocations: 3.557 MB / 0.5719 GB, free: 13.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.509e-05/0.9245, allocations: 3.938 kB / 0.5719 GB, free: 13.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003786/0.9249, allocations: 75.98 kB / 0.572 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004003/0.9254, allocations: 219.5 kB / 0.5722 GB, free: 13.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/0.9391, allocations: 3.53 MB / 0.5757 GB, free: 9.957 MB / 442.7 MB 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.03111/0.9703, allocations: 14.13 MB / 0.5895 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009498/0.9798, allocations: 2.286 MB / 0.5917 GB, free: 8.465 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5806/1.56, allocations: 64.32 MB / 0.6545 GB, free: 125.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007002/1.567, allocations: 1.721 MB / 0.6562 GB, free: 125.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=154): time 6.041e-06/1.568, allocations: 5.094 kB / 0.6562 GB, free: 125.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=174): time 0.04038/1.608, allocations: 9.487 MB / 0.6655 GB, free: 123.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.608, allocations: 277.5 kB / 0.6657 GB, free: 123.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003089/1.611, allocations: 1.329 MB / 0.667 GB, free: 123.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005695/1.612, allocations: 57.45 kB / 0.6671 GB, free: 123.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009467/1.613, allocations: 0.8332 MB / 0.6679 GB, free: 122.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/1.614, allocations: 0.6044 MB / 0.6685 GB, free: 122.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/1.614, allocations: 40.41 kB / 0.6685 GB, free: 122.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/1.614, allocations: 395.7 kB / 0.6689 GB, free: 122.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004816/1.619, allocations: 1.282 MB / 0.6702 GB, free: 122.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005309/1.625, allocations: 1.866 MB / 0.672 GB, free: 121.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005322/1.63, allocations: 1.518 MB / 0.6735 GB, free: 121.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.521e-05/1.63, allocations: 6.656 kB / 0.6735 GB, free: 121.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01498/1.645, allocations: 4.361 MB / 0.6777 GB, free: 121.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001447/1.647, allocations: 6.71 MB / 0.6843 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.975e-05/1.647, allocations: 18.48 kB / 0.6843 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02889/1.676, allocations: 3.755 MB / 0.688 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/1.678, allocations: 337.5 kB / 0.6883 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/1.69, allocations: 4.048 MB / 0.6922 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/1.694, allocations: 275.3 kB / 0.6925 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007006/1.695, allocations: 106.4 kB / 0.6926 GB, free: 113.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.695, allocations: 3.688 kB / 0.6926 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0139/1.709, allocations: 3.989 MB / 0.6965 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-05/1.709, allocations: 16 kB / 0.6965 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01753/1.727, allocations: 2.492 MB / 0.6989 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002691/1.73, allocations: 380 kB / 0.6993 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008624/1.738, allocations: 3.352 MB / 0.7026 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003894/1.742, allocations: 273 kB / 0.7028 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006293/1.743, allocations: 104 kB / 0.7029 GB, free: 105.2 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 170 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 91} Notification: Performance of prepare postOptimizeDAE: time 0.00227/1.745, allocations: 0.7006 MB / 0.7036 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006303/1.746, allocations: 166 kB / 0.7038 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01548/1.761, allocations: 6.838 MB / 0.7105 GB, free: 97.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.222e-05/1.761, allocations: 71.89 kB / 0.7105 GB, free: 97.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/1.761, allocations: 4 kB / 0.7105 GB, free: 97.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01193/1.773, allocations: 5.487 MB / 0.7159 GB, free: 91.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02092/1.794, allocations: 9.533 MB / 0.7252 GB, free: 82.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.09e-05/1.795, allocations: 3.469 kB / 0.7252 GB, free: 82.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003742/1.798, allocations: 442.6 kB / 0.7256 GB, free: 81.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003026/1.801, allocations: 474.6 kB / 0.7261 GB, free: 81.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004778/1.802, allocations: 67.95 kB / 0.7261 GB, free: 81.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/1.804, allocations: 3.211 MB / 0.7293 GB, free: 78.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.804, allocations: 4.781 kB / 0.7293 GB, free: 78.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/1.821, allocations: 7.115 MB / 0.7362 GB, free: 70.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002278/1.823, allocations: 0.7647 MB / 0.737 GB, free: 70.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007789/1.824, allocations: 47.98 kB / 0.737 GB, free: 70.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003362/1.827, allocations: 209.1 kB / 0.7372 GB, free: 69.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007758/1.828, allocations: 181.7 kB / 0.7374 GB, free: 69.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/1.828, allocations: 69.91 kB / 0.7375 GB, free: 69.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002644/1.831, allocations: 1.233 MB / 0.7387 GB, free: 68.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.32e-07/1.831, allocations: 7.656 kB / 0.7387 GB, free: 68.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008909/1.84, allocations: 2.208 MB / 0.7408 GB, free: 66.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 39 ($cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.region3boundary,$cse17.region3boundary,$cse18.phase,$cse18.region,$cse25.phase,$cse25.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse34.phase,$cse34.region,$whenCondition2,$whenCondition1,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02611/1.866, allocations: 9.436 MB / 0.75 GB, free: 57.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01717/1.883, allocations: 5.526 MB / 0.7554 GB, free: 51.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.883, allocations: 0 / 0.7554 GB, free: 51.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006551/1.89, allocations: 2.366 MB / 0.7578 GB, free: 49.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007097/1.897, allocations: 0.7781 MB / 0.7585 GB, free: 48.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02471/1.922, allocations: 21.83 MB / 0.7798 GB, free: 26.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/1.924, allocations: 2.055 MB / 0.7818 GB, free: 24.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005109/1.929, allocations: 1.467 MB / 0.7833 GB, free: 22.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00233/1.931, allocations: 1.151 MB / 0.7844 GB, free: 21.59 MB / 490.7 MB Notification: Performance of SimCode: time 8.61e-07/1.931, allocations: 0 / 0.7844 GB, free: 21.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5502/2.481, allocations: 110.8 MB / 0.8926 GB, free: 96.86 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003158/2.482, allocations: 277.2 kB / 0.8928 GB, free: 96.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.917/11.4, allocations: 4 kB / 0.8928 GB, free: 96.49 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization_res.mat does not exist to compare? outputFormat=mat