Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01098/0.01098, allocations: 103.2 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001203/0.001203, allocations: 169.6 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.614/1.614, allocations: 170.9 MB / 187.6 MB, free: 0.9531 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2548/0.2548, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004543, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/0.09188, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.04334/0.1353, allocations: 23.94 MB / 396.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04724/0.1826, allocations: 14.7 MB / 410.9 MB, free: 6.125 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009341/0.1836, allocations: 15.88 kB / 410.9 MB, free: 6.109 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.1857, allocations: 262.8 kB / 411.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02017/0.2059, allocations: 2.949 MB / 414.2 MB, free: 2.895 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0217/0.2277, allocations: 3.063 MB / 417.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002263/0.23, allocations: 0.6022 MB / 417.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009972/0.231, allocations: 237.4 kB / 418 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.2332, allocations: 434.5 kB / 418.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006911/0.234, allocations: 231 kB / 418.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.2341, allocations: 16 kB / 418.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02604/0.2602, allocations: 7.051 MB / 425.8 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.2605, allocations: 83.66 kB / 425.8 MB, free: 7.184 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.2608, allocations: 117.5 kB / 426 MB, free: 7.062 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008568/0.2693, allocations: 3.033 MB / 429 MB, free: 4.023 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2694, allocations: 0 / 429 MB, free: 4.023 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.2694, allocations: 0 / 429 MB, free: 4.023 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.2694, allocations: 0 / 429 MB, free: 4.023 MB / 330.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.004827/0.2743, allocations: 1.236 MB / 430.2 MB, free: 2.734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.2743, allocations: 16.03 kB / 430.2 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/0.2745, allocations: 74.53 kB / 430.3 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002793/0.2773, allocations: 227.2 kB / 430.5 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000959/0.2783, allocations: 394.6 kB / 430.9 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.2785, allocations: 33 kB / 431 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-05/0.2786, allocations: 32 kB / 431 MB, free: 1.926 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/0.2815, allocations: 0.6765 MB / 431.7 MB, free: 1.203 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.2816, allocations: 0 / 431.7 MB, free: 1.203 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/0.2817, allocations: 16 kB / 431.7 MB, free: 1.188 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.2817, allocations: 12 kB / 431.7 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003496/0.2852, allocations: 0.6503 MB / 432.3 MB, free: 0.5273 MB / 330.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.2618/0.5471, allocations: 2.757 MB / 435.1 MB, free: 59.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/0.5499, allocations: 0.5082 MB / 435.6 MB, free: 59.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1844/0.7343, allocations: 52.09 MB / 487.7 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.7344, allocations: 34.56 kB / 487.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 2.424e-06/0.7344, allocations: 4 kB / 487.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.004725/0.7392, allocations: 0.8647 MB / 488.6 MB, free: 12.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.7393, allocations: 106.8 kB / 488.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.7398, allocations: 360.9 kB / 489.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/0.7399, allocations: 33.7 kB / 489.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.7401, allocations: 233.5 kB / 489.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.7402, allocations: 96.56 kB / 489.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.7403, allocations: 8 kB / 489.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.7404, allocations: 350.8 kB / 489.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009445/0.7413, allocations: 175.9 kB / 489.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009543/0.7423, allocations: 308.9 kB / 490.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009442/0.7433, allocations: 212.2 kB / 490.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7433, allocations: 0 / 490.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002256/0.7456, allocations: 0.5273 MB / 491 MB, free: 9.805 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002865/0.7459, allocations: 1.482 MB / 492.4 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.7459, allocations: 4 kB / 492.5 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.7459, allocations: 4 kB / 492.5 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008596/0.7468, allocations: 127.7 kB / 492.6 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.7468, allocations: 11.95 kB / 492.6 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008034/0.7477, allocations: 79.64 kB / 492.7 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.7477, allocations: 23.98 kB / 492.7 MB, free: 7.961 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.7478, allocations: 4 kB / 492.7 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002077/0.7498, allocations: 479.8 kB / 493.2 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.7499, allocations: 4 kB / 493.2 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.7499, allocations: 4 kB / 493.2 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008176/0.7507, allocations: 124 kB / 493.3 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.7508, allocations: 8 kB / 493.3 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000738/0.7515, allocations: 75.7 kB / 493.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.7516, allocations: 23.84 kB / 493.4 MB, free: 7.258 MB / 330.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.0003341/0.7519, allocations: 252.9 kB / 493.6 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.7521, allocations: 35.53 kB / 493.7 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003863/0.7559, allocations: 1.979 MB / 495.7 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.926e-05/0.756, allocations: 31.95 kB / 495.7 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.756, allocations: 6.562 kB / 495.7 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.7561, allocations: 4 kB / 495.7 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.7574, allocations: 1.028 MB / 496.7 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.7574, allocations: 4 kB / 496.7 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/0.7582, allocations: 91.92 kB / 496.8 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.7582, allocations: 4 kB / 496.8 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.7582, allocations: 8 kB / 496.8 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.7583, allocations: 11.92 kB / 496.8 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7583, allocations: 0 / 496.8 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.7607, allocations: 1.149 MB / 498 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.7611, allocations: 247.4 kB / 498.2 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.976e-05/0.7612, allocations: 8 kB / 498.2 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/0.7619, allocations: 55.95 kB / 498.3 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.762, allocations: 27.95 kB / 498.3 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.762, allocations: 11.98 kB / 498.3 MB, free: 2.223 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004726/0.7625, allocations: 314.9 kB / 498.6 MB, free: 1.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7625, allocations: 0 / 498.6 MB, free: 1.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003772/0.7663, allocations: 1.121 MB / 499.8 MB, free: 0.875 MB / 330.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,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.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.01048/0.7768, allocations: 2.807 MB / 0.4908 GB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003745/0.7806, allocations: 0.9249 MB / 0.4917 GB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.7807, allocations: 3.938 kB / 0.4917 GB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.7822, allocations: 0.5447 MB / 0.4922 GB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.7841, allocations: 195.1 kB / 0.4924 GB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.7966, allocations: 6.419 MB / 0.4987 GB, free: 6.062 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006871/0.7974, allocations: 0.9953 MB / 0.4997 GB, free: 5.035 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001514/0.7989, allocations: 0.535 MB / 0.5002 GB, free: 4.508 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005253/0.7995, allocations: 271.3 kB / 0.5004 GB, free: 4.242 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.7995, allocations: 0 / 0.5004 GB, free: 4.242 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1612/0.9607, allocations: 47.13 MB / 0.5465 GB, free: 5.18 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003529/0.9611, allocations: 245.8 kB / 0.5467 GB, free: 4.934 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.02/6.981, allocations: 4 kB / 0.5467 GB, free: 4.93 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat