Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.649/2.649, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.3e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3801, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.97/8.351, allocations: 2.595 GB / 2.945 GB, free: 118.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/8.351, allocations: 81.81 kB / 2.945 GB, free: 118.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.599/9.95, allocations: 351.5 MB / 3.288 GB, free: 11.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.815e-06/9.95, allocations: 0 / 3.288 GB, free: 11.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.656e-05/9.95, allocations: 16 kB / 3.288 GB, free: 11.22 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.008436/9.959, allocations: 1.655 MB / 3.29 GB, free: 9.523 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/9.959, allocations: 16.02 kB / 3.29 GB, free: 9.508 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005234/9.964, allocations: 439.2 kB / 3.29 GB, free: 9.078 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/9.966, allocations: 0.5788 MB / 3.291 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/9.966, allocations: 96.66 kB / 3.291 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/9.966, allocations: 32 kB / 3.291 GB, free: 8.328 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001888/9.968, allocations: 0.7288 MB / 3.292 GB, free: 7.598 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/9.97, allocations: 0.8326 MB / 3.293 GB, free: 6.703 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/9.97, allocations: 3.938 kB / 3.293 GB, free: 6.699 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/9.97, allocations: 4 kB / 3.293 GB, free: 6.695 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.106e-05/9.97, allocations: 33.31 kB / 3.293 GB, free: 6.664 MB / 490.7 MB 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.514/10.48, allocations: 36.85 MB / 3.329 GB, free: 46.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/10.49, allocations: 489 kB / 3.329 GB, free: 46.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/10.49, allocations: 251.2 kB / 3.329 GB, free: 46.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09997/10.59, allocations: 31.52 MB / 3.36 GB, free: 27.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/10.59, allocations: 37.44 kB / 3.36 GB, free: 27.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.767e-06/10.59, allocations: 0 / 3.36 GB, free: 27.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.02875/10.62, allocations: 3.276 MB / 3.363 GB, free: 26.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/10.62, allocations: 113.2 kB / 3.363 GB, free: 26.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007769/10.62, allocations: 407.8 kB / 3.364 GB, free: 26.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/10.62, allocations: 29.83 kB / 3.364 GB, free: 26.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/10.62, allocations: 404.5 kB / 3.364 GB, free: 42.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/10.62, allocations: 175.9 kB / 3.364 GB, free: 42.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-05/10.62, allocations: 0 / 3.364 GB, free: 42.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001683/10.62, allocations: 344.5 kB / 3.365 GB, free: 41.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009132/10.62, allocations: 395.4 kB / 3.365 GB, free: 41.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/10.62, allocations: 0.6093 MB / 3.366 GB, free: 41.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/10.62, allocations: 0.691 MB / 3.366 GB, free: 41.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/10.62, allocations: 0 / 3.366 GB, free: 41.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005989/10.63, allocations: 1.586 MB / 3.368 GB, free: 41.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001114/10.63, allocations: 2.702 MB / 3.371 GB, free: 38.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/10.63, allocations: 6.031 kB / 3.371 GB, free: 38.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002781/10.63, allocations: 1.079 MB / 3.372 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/10.64, allocations: 147.8 kB / 3.372 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00607/10.64, allocations: 2.89 MB / 3.375 GB, free: 37.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/10.64, allocations: 100.8 kB / 3.375 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/10.64, allocations: 42.52 kB / 3.375 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/10.64, allocations: 7.672 kB / 3.375 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003643/10.65, allocations: 0.9648 MB / 3.376 GB, free: 37.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/10.65, allocations: 6.969 kB / 3.376 GB, free: 37.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007301/10.65, allocations: 255.4 kB / 3.376 GB, free: 37.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/10.65, allocations: 190.9 kB / 3.376 GB, free: 37.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004576/10.65, allocations: 4.269 MB / 3.38 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/10.66, allocations: 63.94 kB / 3.38 GB, free: 33.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/10.66, allocations: 41.25 kB / 3.38 GB, free: 33.43 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.Volume.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.Volume.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004618/10.66, allocations: 136.2 kB / 3.381 GB, free: 33.33 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00508/10.66, allocations: 1.326 MB / 3.382 GB, free: 33.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/10.66, allocations: 61.16 kB / 3.382 GB, free: 33.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00991/10.67, allocations: 4.2 MB / 3.386 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.876e-05/10.67, allocations: 44.72 kB / 3.386 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/10.67, allocations: 0 / 3.386 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/10.67, allocations: 3.797 kB / 3.386 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/10.68, allocations: 5.762 MB / 3.392 GB, free: 32.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/10.68, allocations: 3.844 kB / 3.392 GB, free: 32.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/10.68, allocations: 70.12 kB / 3.392 GB, free: 32.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005189/10.69, allocations: 2.503 MB / 3.394 GB, free: 32.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/10.69, allocations: 16.38 kB / 3.394 GB, free: 32.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007902/10.7, allocations: 4.567 MB / 3.399 GB, free: 30.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/10.7, allocations: 0 / 3.399 GB, free: 30.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00685/10.7, allocations: 3.237 MB / 3.402 GB, free: 30.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008242/10.71, allocations: 325 kB / 3.402 GB, free: 30.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/10.71, allocations: 0 / 3.402 GB, free: 30.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/10.71, allocations: 77.58 kB / 3.402 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/10.71, allocations: 67.7 kB / 3.402 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-05/10.71, allocations: 24.47 kB / 3.402 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006052/10.71, allocations: 357 kB / 3.403 GB, free: 30.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.51e-07/10.71, allocations: 0 / 3.403 GB, free: 30.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007279/10.72, allocations: 1.363 MB / 3.404 GB, free: 30.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01783/10.73, allocations: 4.923 MB / 3.409 GB, free: 29.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006825/10.74, allocations: 2.122 MB / 3.411 GB, free: 28.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/10.74, allocations: 3.5 kB / 3.411 GB, free: 28.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004085/10.74, allocations: 1.119 MB / 3.412 GB, free: 28.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/10.75, allocations: 252.3 kB / 3.412 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008827/10.76, allocations: 2.579 MB / 3.415 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008571/10.76, allocations: 1.157 MB / 3.416 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006764/10.76, allocations: 380.9 kB / 3.416 GB, free: 27.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/10.76, allocations: 0 / 3.416 GB, free: 27.54 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.077/14.83, allocations: 51.49 MB / 3.466 GB, free: 10.78 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat