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.Valves.TestValveVaporizing.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.508/2.508, allocations: 234.9 MB / 250.5 MB, free: 9.672 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004678, allocations: 8 kB / 314.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3829, allocations: 54.86 MB / 369.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.886/8.269, allocations: 2.635 GB / 2.996 GB, free: 91.77 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/8.27, allocations: 85.89 kB / 2.996 GB, free: 91.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.239/9.509, allocations: 236.3 MB / 3.226 GB, free: 55.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.914e-06/9.509, allocations: 4 kB / 3.226 GB, free: 55.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.883e-05/9.509, allocations: 12 kB / 3.226 GB, free: 55.19 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.006351/9.515, allocations: 1.357 MB / 3.228 GB, free: 53.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/9.515, allocations: 16.02 kB / 3.228 GB, free: 53.77 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/9.516, allocations: 70.53 kB / 3.228 GB, free: 53.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/9.518, allocations: 258.7 kB / 3.228 GB, free: 53.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/9.52, allocations: 435 kB / 3.229 GB, free: 52.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/9.52, allocations: 29 kB / 3.229 GB, free: 52.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/9.52, allocations: 35.94 kB / 3.229 GB, free: 52.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/9.523, allocations: 0.6696 MB / 3.229 GB, free: 52.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/9.523, allocations: 4 kB / 3.229 GB, free: 52.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-05/9.523, allocations: 16 kB / 3.229 GB, free: 52.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/9.523, allocations: 8 kB / 3.229 GB, free: 52.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003298/9.526, allocations: 0.6503 MB / 3.23 GB, free: 51.53 MB / 490.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.004294/9.53, allocations: 2.762 MB / 3.233 GB, free: 48.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/9.533, allocations: 0.5022 MB / 3.233 GB, free: 48.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5526/10.09, allocations: 51.48 MB / 3.283 GB, free: 74.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/10.09, allocations: 39.09 kB / 3.283 GB, free: 74.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 2.856e-06/10.09, allocations: 0 / 3.283 GB, free: 74.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.004829/10.09, allocations: 0.8743 MB / 3.284 GB, free: 74.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/10.09, allocations: 109.8 kB / 3.284 GB, free: 74.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/10.09, allocations: 304.1 kB / 3.285 GB, free: 74.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/10.09, allocations: 36.86 kB / 3.285 GB, free: 74.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/10.09, allocations: 287.7 kB / 3.285 GB, free: 74.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/10.09, allocations: 95.59 kB / 3.285 GB, free: 74.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/10.09, allocations: 4.688 kB / 3.285 GB, free: 74.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/10.09, allocations: 324.8 kB / 3.285 GB, free: 73.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009054/10.09, allocations: 180.2 kB / 3.286 GB, free: 73.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009595/10.09, allocations: 308.8 kB / 3.286 GB, free: 73.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009341/10.09, allocations: 199.9 kB / 3.286 GB, free: 73.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/10.09, allocations: 0 / 3.286 GB, free: 73.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002208/10.1, allocations: 0.5111 MB / 3.287 GB, free: 73.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003693/10.1, allocations: 1.487 MB / 3.288 GB, free: 71.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/10.1, allocations: 12.91 kB / 3.288 GB, free: 71.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/10.1, allocations: 3.75 kB / 3.288 GB, free: 71.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/10.1, allocations: 119.6 kB / 3.288 GB, free: 71.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/10.1, allocations: 7.5 kB / 3.288 GB, free: 71.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008484/10.1, allocations: 91.5 kB / 3.288 GB, free: 71.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/10.1, allocations: 23.98 kB / 3.288 GB, free: 71.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/10.1, allocations: 3.625 kB / 3.288 GB, free: 71.94 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002085/10.1, allocations: 482.1 kB / 3.289 GB, free: 71.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/10.1, allocations: 3.75 kB / 3.289 GB, free: 71.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/10.1, allocations: 7.531 kB / 3.289 GB, free: 71.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/10.1, allocations: 117.5 kB / 3.289 GB, free: 71.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/10.1, allocations: 10.12 kB / 3.289 GB, free: 71.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/10.1, allocations: 74.83 kB / 3.289 GB, free: 71.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/10.1, allocations: 23.97 kB / 3.289 GB, free: 71.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0003471/10.1, allocations: 248 kB / 3.289 GB, free: 71.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/10.1, allocations: 42.45 kB / 3.289 GB, free: 71.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/10.11, allocations: 1.99 MB / 3.291 GB, free: 71.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.629e-05/10.11, allocations: 26.23 kB / 3.291 GB, free: 71.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/10.11, allocations: 0 / 3.291 GB, free: 71.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/10.11, allocations: 3.938 kB / 3.291 GB, free: 71.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/10.11, allocations: 1.016 MB / 3.292 GB, free: 71.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/10.11, allocations: 10.62 kB / 3.292 GB, free: 71.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007207/10.11, allocations: 91.91 kB / 3.292 GB, free: 71.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/10.11, allocations: 2.938 kB / 3.292 GB, free: 71.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/10.11, allocations: 14.45 kB / 3.292 GB, free: 71.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/10.11, allocations: 0 / 3.292 GB, free: 71.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/10.11, allocations: 6.922 kB / 3.292 GB, free: 71.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/10.11, allocations: 1.15 MB / 3.293 GB, free: 71.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/10.11, allocations: 256.3 kB / 3.294 GB, free: 70.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/10.11, allocations: 9.188 kB / 3.294 GB, free: 70.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/10.11, allocations: 56.66 kB / 3.294 GB, free: 70.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/10.11, allocations: 30.45 kB / 3.294 GB, free: 70.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/10.11, allocations: 14.41 kB / 3.294 GB, free: 70.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005065/10.11, allocations: 309.8 kB / 3.294 GB, free: 70.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/10.11, allocations: 0 / 3.294 GB, free: 70.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0058/10.12, allocations: 1.161 MB / 3.295 GB, free: 70.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01256/10.13, allocations: 3.023 MB / 3.298 GB, free: 69.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003393/10.14, allocations: 0.9201 MB / 3.299 GB, free: 69.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/10.14, allocations: 7.094 kB / 3.299 GB, free: 69.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/10.14, allocations: 0.5438 MB / 3.3 GB, free: 69.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/10.14, allocations: 195.4 kB / 3.3 GB, free: 69.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3278/10.47, allocations: 81.64 MB / 3.38 GB, free: 61.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007267/10.47, allocations: 0.9916 MB / 3.38 GB, free: 60.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007641/10.47, allocations: 279.5 kB / 3.381 GB, free: 60.78 MB / 490.7 MB Notification: Performance of SimCode: time 1.903e-06/10.47, allocations: 0 / 3.381 GB, free: 60.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.65/14.12, allocations: 30 MB / 3.41 GB, free: 43.33 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat