Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01/0.01001, allocations: 175.9 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.877/1.877, allocations: 194.5 MB / 210.3 MB, free: 8.785 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002013/0.002013, allocations: 120.6 kB / 255.6 MB, free: 11.4 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2422/0.2422, allocations: 40 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004834, allocations: 10.22 kB / 406.3 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 54.88 MB / 461.1 MB, free: 3.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.787/7.891, allocations: 2.635 GB / 3.085 GB, free: 35.88 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/7.891, allocations: 87.89 kB / 3.085 GB, free: 35.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.201/9.093, allocations: 236.3 MB / 3.316 GB, free: 3.141 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/9.093, allocations: 4 kB / 3.316 GB, free: 3.137 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.227e-05/9.093, allocations: 8 kB / 3.316 GB, free: 3.129 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.006589/9.099, allocations: 1.364 MB / 3.317 GB, free: 1.715 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/9.099, allocations: 8.031 kB / 3.317 GB, free: 1.707 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/9.1, allocations: 74.53 kB / 3.318 GB, free: 1.625 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/9.103, allocations: 251.1 kB / 3.318 GB, free: 1.379 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/9.104, allocations: 440.3 kB / 3.318 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.537e-05/9.104, allocations: 33 kB / 3.318 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.061e-05/9.104, allocations: 35.94 kB / 3.318 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/9.107, allocations: 0.6696 MB / 3.319 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/9.107, allocations: 0 / 3.319 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/9.107, allocations: 16 kB / 3.319 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/9.107, allocations: 11.94 kB / 3.319 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.348/9.455, allocations: 0.6493 MB / 3.32 GB, free: 69.58 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.005044/9.46, allocations: 2.762 MB / 3.322 GB, free: 67.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/9.463, allocations: 0.4976 MB / 3.323 GB, free: 67.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1879/9.651, allocations: 51.48 MB / 3.373 GB, free: 39.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/9.651, allocations: 40.55 kB / 3.373 GB, free: 39.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 2.705e-06/9.651, allocations: 2.344 kB / 3.373 GB, free: 39.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.005176/9.656, allocations: 0.8668 MB / 3.374 GB, free: 39.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/9.656, allocations: 106.8 kB / 3.374 GB, free: 39.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/9.657, allocations: 313.6 kB / 3.374 GB, free: 39.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.013e-05/9.657, allocations: 35.34 kB / 3.374 GB, free: 39.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/9.657, allocations: 238.9 kB / 3.375 GB, free: 39.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/9.657, allocations: 99.05 kB / 3.375 GB, free: 39.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/9.657, allocations: 4.625 kB / 3.375 GB, free: 39.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/9.657, allocations: 345.1 kB / 3.375 GB, free: 38.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/9.658, allocations: 179.1 kB / 3.375 GB, free: 38.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/9.659, allocations: 312.4 kB / 3.375 GB, free: 38.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/9.661, allocations: 203.9 kB / 3.376 GB, free: 38.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/9.661, allocations: 0 / 3.376 GB, free: 38.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002464/9.663, allocations: 0.5352 MB / 3.376 GB, free: 38.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003566/9.663, allocations: 1.489 MB / 3.378 GB, free: 37.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/9.663, allocations: 3.594 kB / 3.378 GB, free: 37.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-05/9.663, allocations: 3.938 kB / 3.378 GB, free: 37.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009484/9.664, allocations: 120 kB / 3.378 GB, free: 37.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/9.664, allocations: 9.562 kB / 3.378 GB, free: 37.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009237/9.665, allocations: 94.38 kB / 3.378 GB, free: 37.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/9.666, allocations: 21.19 kB / 3.378 GB, free: 37.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/9.666, allocations: 3.562 kB / 3.378 GB, free: 37.08 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002248/9.668, allocations: 478.2 kB / 3.378 GB, free: 37.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/9.668, allocations: 3.875 kB / 3.378 GB, free: 37.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/9.668, allocations: 7.25 kB / 3.378 GB, free: 37.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008589/9.669, allocations: 120.6 kB / 3.378 GB, free: 37.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/9.669, allocations: 14.53 kB / 3.378 GB, free: 37.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000848/9.67, allocations: 74.16 kB / 3.379 GB, free: 37.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.785e-05/9.67, allocations: 21.81 kB / 3.379 GB, free: 37.05 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.0004012/9.67, allocations: 245.4 kB / 3.379 GB, free: 36.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/9.67, allocations: 38.75 kB / 3.379 GB, free: 36.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004108/9.674, allocations: 1.99 MB / 3.381 GB, free: 36.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.531e-05/9.675, allocations: 32.02 kB / 3.381 GB, free: 36.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/9.675, allocations: 0 / 3.381 GB, free: 36.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/9.675, allocations: 3.609 kB / 3.381 GB, free: 36.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/9.676, allocations: 1.017 MB / 3.382 GB, free: 36.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/9.676, allocations: 0 / 3.382 GB, free: 36.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007879/9.677, allocations: 95.12 kB / 3.382 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.447e-06/9.677, allocations: 5.438 kB / 3.382 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/9.677, allocations: 16.84 kB / 3.382 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/9.677, allocations: 0 / 3.382 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/9.677, allocations: 0.875 kB / 3.382 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/9.68, allocations: 1.154 MB / 3.383 GB, free: 36.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/9.681, allocations: 253.1 kB / 3.383 GB, free: 35.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/9.681, allocations: 14.28 kB / 3.383 GB, free: 35.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007967/9.681, allocations: 53.7 kB / 3.383 GB, free: 35.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/9.682, allocations: 31.11 kB / 3.383 GB, free: 35.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/9.682, allocations: 9.875 kB / 3.383 GB, free: 35.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005485/9.682, allocations: 308.2 kB / 3.384 GB, free: 35.87 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/9.682, allocations: 0 / 3.384 GB, free: 35.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005788/9.688, allocations: 1.166 MB / 3.385 GB, free: 35.86 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.01329/9.701, allocations: 3.024 MB / 3.388 GB, free: 35.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003664/9.705, allocations: 0.9322 MB / 3.389 GB, free: 34.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/9.705, allocations: 0 / 3.389 GB, free: 34.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/9.707, allocations: 0.5389 MB / 3.389 GB, free: 34.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/9.709, allocations: 191.9 kB / 3.389 GB, free: 34.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2718/9.981, allocations: 81.61 MB / 3.469 GB, free: 17.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/9.981, allocations: 1.003 MB / 3.47 GB, free: 16.24 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001868/9.983, allocations: 0.5222 MB / 3.471 GB, free: 15.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007036/9.984, allocations: 269.1 kB / 3.471 GB, free: 15.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.562e-06/9.984, allocations: 0 / 3.471 GB, free: 15.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/10.12, allocations: 40.27 MB / 3.51 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003497/10.12, allocations: 235.1 kB / 3.51 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.334/14.46, allocations: 2.25 kB / 3.51 GB, free: 2.375 MB / 0.4948 GB 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