Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.958/1.958, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004619, allocations: 8 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3594, allocations: 48.7 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.341/7.701, allocations: 2.524 GB / 2.848 GB, free: 85.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/7.701, allocations: 85.41 kB / 2.848 GB, free: 85.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178/8.879, allocations: 231.9 MB / 3.074 GB, free: 65.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.634e-06/8.879, allocations: 0 / 3.074 GB, free: 65.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.99e-05/8.879, allocations: 11.19 kB / 3.074 GB, free: 65.29 MB / 442.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.007344/8.887, allocations: 1.345 MB / 3.076 GB, free: 64.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/8.887, allocations: 7.906 kB / 3.076 GB, free: 64.49 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002586/8.887, allocations: 76.11 kB / 3.076 GB, free: 64.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/8.89, allocations: 247.4 kB / 3.076 GB, free: 64.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/8.891, allocations: 419 kB / 3.076 GB, free: 64.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/8.891, allocations: 31.34 kB / 3.076 GB, free: 64.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.06e-05/8.892, allocations: 36.84 kB / 3.076 GB, free: 64.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/8.894, allocations: 0.6709 MB / 3.077 GB, free: 63.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/8.894, allocations: 352 / 3.077 GB, free: 63.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/8.894, allocations: 22.73 kB / 3.077 GB, free: 63.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/8.894, allocations: 7.844 kB / 3.077 GB, free: 63.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003246/8.898, allocations: 0.6464 MB / 3.078 GB, free: 63.61 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.004122/8.902, allocations: 2.774 MB / 3.081 GB, free: 61.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/8.905, allocations: 0.5049 MB / 3.081 GB, free: 61.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2248/9.129, allocations: 51.43 MB / 3.131 GB, free: 31.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/9.129, allocations: 34.56 kB / 3.131 GB, free: 31.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 2.475e-06/9.129, allocations: 0 / 3.131 GB, free: 31.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.004799/9.134, allocations: 0.8798 MB / 3.132 GB, free: 31.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/9.134, allocations: 106.7 kB / 3.132 GB, free: 30.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/9.135, allocations: 311 kB / 3.133 GB, free: 30.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/9.135, allocations: 29.7 kB / 3.133 GB, free: 30.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/9.135, allocations: 291.3 kB / 3.133 GB, free: 30.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.487e-05/9.135, allocations: 91.34 kB / 3.133 GB, free: 30.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/9.135, allocations: 7.812 kB / 3.133 GB, free: 30.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.775e-05/9.135, allocations: 330.3 kB / 3.133 GB, free: 30.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008851/9.136, allocations: 175.7 kB / 3.133 GB, free: 30.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009544/9.137, allocations: 318.9 kB / 3.134 GB, free: 29.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009273/9.138, allocations: 202.5 kB / 3.134 GB, free: 29.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/9.138, allocations: 0 / 3.134 GB, free: 29.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00223/9.14, allocations: 0.5035 MB / 3.134 GB, free: 29.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000355/9.141, allocations: 1.488 MB / 3.136 GB, free: 28.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/9.141, allocations: 3.312 kB / 3.136 GB, free: 28.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.493e-05/9.141, allocations: 10.7 kB / 3.136 GB, free: 28.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009157/9.142, allocations: 119.4 kB / 3.136 GB, free: 28.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/9.142, allocations: 9.609 kB / 3.136 GB, free: 28.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009156/9.143, allocations: 87.16 kB / 3.136 GB, free: 27.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/9.143, allocations: 20.84 kB / 3.136 GB, free: 27.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/9.143, allocations: 3.969 kB / 3.136 GB, free: 27.98 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002124/9.145, allocations: 481 kB / 3.137 GB, free: 27.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/9.145, allocations: 3.844 kB / 3.137 GB, free: 27.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/9.145, allocations: 11.38 kB / 3.137 GB, free: 27.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008035/9.146, allocations: 117.5 kB / 3.137 GB, free: 27.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/9.146, allocations: 11.66 kB / 3.137 GB, free: 27.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/9.147, allocations: 71.41 kB / 3.137 GB, free: 27.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/9.147, allocations: 24.36 kB / 3.137 GB, free: 27.79 MB / 442.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.0003324/9.147, allocations: 247.2 kB / 3.137 GB, free: 27.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/9.147, allocations: 36.44 kB / 3.137 GB, free: 27.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003729/9.151, allocations: 1.983 MB / 3.139 GB, free: 26.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/9.151, allocations: 32.55 kB / 3.139 GB, free: 26.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/9.151, allocations: 3.594 kB / 3.139 GB, free: 26.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/9.151, allocations: 7.359 kB / 3.139 GB, free: 26.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/9.152, allocations: 1.029 MB / 3.14 GB, free: 26.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/9.152, allocations: 0 / 3.14 GB, free: 26.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007054/9.153, allocations: 95.95 kB / 3.14 GB, free: 26.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/9.153, allocations: 0 / 3.14 GB, free: 26.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/9.153, allocations: 11.97 kB / 3.14 GB, free: 26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/9.153, allocations: 0 / 3.14 GB, free: 26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/9.153, allocations: 0 / 3.14 GB, free: 26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/9.156, allocations: 1.149 MB / 3.141 GB, free: 25.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/9.156, allocations: 255 kB / 3.142 GB, free: 25.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/9.156, allocations: 15.97 kB / 3.142 GB, free: 25.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006709/9.157, allocations: 53.72 kB / 3.142 GB, free: 25.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/9.157, allocations: 33.48 kB / 3.142 GB, free: 25.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/9.157, allocations: 15.58 kB / 3.142 GB, free: 25.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004991/9.158, allocations: 308.7 kB / 3.142 GB, free: 25.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.7e-07/9.158, allocations: 0 / 3.142 GB, free: 25.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005299/9.163, allocations: 1.152 MB / 3.143 GB, free: 24.82 MB / 442.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.01132/9.174, allocations: 3.028 MB / 3.146 GB, free: 22.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003375/9.178, allocations: 0.9218 MB / 3.147 GB, free: 21.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/9.178, allocations: 0 / 3.147 GB, free: 21.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/9.179, allocations: 0.5461 MB / 3.147 GB, free: 21.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/9.181, allocations: 194.8 kB / 3.148 GB, free: 21.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6338/9.814, allocations: 80.36 MB / 3.226 GB, free: 56.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/9.815, allocations: 0.9974 MB / 3.227 GB, free: 56.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/9.816, allocations: 275.7 kB / 3.227 GB, free: 56.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.372e-06/9.816, allocations: 0 / 3.227 GB, free: 56.05 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.62/13.44, allocations: 29.84 MB / 3.256 GB, free: 52.93 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat