Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01141/0.01141, allocations: 107.8 kB / 15.06 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.2.mo): time 0.001547/0.001547, allocations: 182.5 kB / 15.95 MB, free: 5.52 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.913/1.913, allocations: 194.6 MB / 211.3 MB, free: 10.96 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.2655/0.2655, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004869, allocations: 12 kB / 361.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1427, allocations: 54.87 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.03865/0.1814, allocations: 24.1 MB / 440.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.337/0.5184, allocations: 14.77 MB / 454.9 MB, free: 31.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000634/0.5191, allocations: 20.19 kB / 454.9 MB, free: 31.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.5202, allocations: 263 kB / 455.2 MB, free: 31.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.5318, allocations: 2.96 MB / 458.1 MB, free: 31.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.5477, allocations: 3.091 MB / 461.2 MB, free: 31.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.5496, allocations: 0.6046 MB / 461.8 MB, free: 31.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006929/0.5503, allocations: 232 kB / 462.1 MB, free: 31.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.5519, allocations: 439.3 kB / 462.5 MB, free: 31.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005558/0.5525, allocations: 233.5 kB / 462.7 MB, free: 31.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.501e-05/0.5526, allocations: 18.22 kB / 462.7 MB, free: 31.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02374/0.5764, allocations: 7.159 MB / 469.9 MB, free: 31.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.5767, allocations: 88.86 kB / 470 MB, free: 31.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.577, allocations: 116 kB / 470.1 MB, free: 31.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009766/0.5868, allocations: 3.064 MB / 473.2 MB, free: 31.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5868, allocations: 0 / 473.2 MB, free: 31.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.5868, allocations: 2.719 kB / 473.2 MB, free: 31.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.5869, allocations: 0 / 473.2 MB, free: 31.71 MB / 378.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.005982/0.5929, allocations: 1.258 MB / 474.4 MB, free: 30.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.5929, allocations: 15.72 kB / 474.4 MB, free: 30.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.5931, allocations: 75.2 kB / 474.5 MB, free: 30.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003933/0.5971, allocations: 236.9 kB / 474.7 MB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009701/0.598, allocations: 393.6 kB / 475.1 MB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.5981, allocations: 31.41 kB / 475.2 MB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.5983, allocations: 29.95 kB / 475.2 MB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003762/0.602, allocations: 0.6737 MB / 475.9 MB, free: 30.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.6021, allocations: 3.344 kB / 475.9 MB, free: 30.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.6022, allocations: 15.75 kB / 475.9 MB, free: 30.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.6022, allocations: 10.89 kB / 475.9 MB, free: 30.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004478/0.6067, allocations: 0.6562 MB / 476.5 MB, free: 30.53 MB / 378.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.005675/0.6124, allocations: 2.778 MB / 479.3 MB, free: 28.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/0.6163, allocations: 0.5133 MB / 479.8 MB, free: 28.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1891/0.8054, allocations: 52.14 MB / 0.5195 GB, free: 22.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.8055, allocations: 41.94 kB / 0.5195 GB, free: 21.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.504e-06/0.8055, allocations: 2.719 kB / 0.5195 GB, free: 21.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.004703/0.8102, allocations: 0.8674 MB / 0.5204 GB, free: 21.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.8103, allocations: 102.8 kB / 0.5205 GB, free: 21.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005037/0.8108, allocations: 350.8 kB / 0.5208 GB, free: 20.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.8109, allocations: 36.08 kB / 0.5209 GB, free: 20.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.8111, allocations: 234.9 kB / 0.5211 GB, free: 20.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.4e-05/0.8112, allocations: 97.69 kB / 0.5212 GB, free: 20.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.8112, allocations: 12.97 kB / 0.5212 GB, free: 20.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.8114, allocations: 346.3 kB / 0.5215 GB, free: 20.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009364/0.8123, allocations: 175.1 kB / 0.5217 GB, free: 20.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009729/0.8133, allocations: 308.9 kB / 0.522 GB, free: 19.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/0.8143, allocations: 200.1 kB / 0.5222 GB, free: 19.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.8143, allocations: 0 / 0.5222 GB, free: 19.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002276/0.8166, allocations: 0.5266 MB / 0.5227 GB, free: 19.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005912/0.8172, allocations: 1.492 MB / 0.5241 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.8172, allocations: 4 kB / 0.5241 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.8173, allocations: 7.656 kB / 0.5242 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008701/0.8182, allocations: 118.2 kB / 0.5243 GB, free: 17.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.8182, allocations: 6.625 kB / 0.5243 GB, free: 17.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000811/0.819, allocations: 101.7 kB / 0.5244 GB, free: 17.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.8191, allocations: 15.62 kB / 0.5244 GB, free: 17.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.8191, allocations: 4 kB / 0.5244 GB, free: 17.42 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002679/0.8218, allocations: 475 kB / 0.5248 GB, free: 17.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.8218, allocations: 4 kB / 0.5248 GB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.8219, allocations: 4 kB / 0.5248 GB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009045/0.8228, allocations: 120.7 kB / 0.525 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.8228, allocations: 7 kB / 0.525 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007561/0.8236, allocations: 77.11 kB / 0.525 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.8236, allocations: 28.42 kB / 0.5251 GB, free: 16.87 MB / 410.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.0003522/0.824, allocations: 248 kB / 0.5253 GB, free: 16.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.8241, allocations: 43.52 kB / 0.5253 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/0.8279, allocations: 1.981 MB / 0.5273 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/0.828, allocations: 26.7 kB / 0.5273 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.828, allocations: 4 kB / 0.5273 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.828, allocations: 3.984 kB / 0.5273 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.8294, allocations: 1.023 MB / 0.5283 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.8294, allocations: 2.938 kB / 0.5283 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007348/0.8302, allocations: 98.45 kB / 0.5284 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.8302, allocations: 7.984 kB / 0.5284 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.8302, allocations: 5.328 kB / 0.5284 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.8303, allocations: 8 kB / 0.5284 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8303, allocations: 0 / 0.5284 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002557/0.8328, allocations: 1.149 MB / 0.5296 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.8332, allocations: 253 kB / 0.5298 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-05/0.8334, allocations: 11.31 kB / 0.5298 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006822/0.834, allocations: 58.86 kB / 0.5299 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.8342, allocations: 29.56 kB / 0.5299 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.8342, allocations: 9.5 kB / 0.5299 GB, free: 13.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005185/0.8347, allocations: 310.7 kB / 0.5302 GB, free: 12.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8348, allocations: 4 kB / 0.5302 GB, free: 12.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004432/0.8392, allocations: 1.135 MB / 0.5313 GB, free: 11.89 MB / 410.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.01141/0.8507, allocations: 2.801 MB / 0.534 GB, free: 9.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006034/0.8567, allocations: 0.9174 MB / 0.5349 GB, free: 8.848 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.8568, allocations: 0 / 0.5349 GB, free: 8.848 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002291/0.8591, allocations: 0.5452 MB / 0.5355 GB, free: 8.535 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/0.862, allocations: 195.2 kB / 0.5357 GB, free: 8.391 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.875, allocations: 6.409 MB / 0.5419 GB, free: 2.461 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007488/0.8758, allocations: 1.003 MB / 0.5429 GB, free: 1.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001527/0.8774, allocations: 0.5209 MB / 0.5434 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005067/0.8779, allocations: 279.5 kB / 0.5437 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8779, allocations: 1.641 kB / 0.5437 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/1, allocations: 47.45 MB / 0.59 GB, free: 1.395 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003807/1.001, allocations: 249.8 kB / 0.5902 GB, free: 1.145 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.975/6.976, allocations: 0 / 0.5902 GB, free: 1.145 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat