Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",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.01009/0.01009, allocations: 174.1 kB / 15.12 MB, free: 5.934 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.987/1.987, allocations: 194.5 MB / 210.3 MB, free: 7.801 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: 112.6 kB / 255.6 MB, free: 10.43 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.292/0.292, allocations: 40.02 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004897, allocations: 15.06 kB / 406.3 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 54.87 MB / 461.1 MB, free: 3.242 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.866/7.969, allocations: 2.587 GB / 3.038 GB, free: 83.53 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/7.97, allocations: 87.3 kB / 3.038 GB, free: 83.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119/9.089, allocations: 216.2 MB / 3.249 GB, free: 68.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.894e-06/9.089, allocations: 0 / 3.249 GB, free: 68.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.981e-05/9.089, allocations: 12 kB / 3.249 GB, free: 68.02 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005528/9.094, allocations: 1.225 MB / 3.25 GB, free: 66.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/9.094, allocations: 8.031 kB / 3.25 GB, free: 66.74 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/9.094, allocations: 66.55 kB / 3.25 GB, free: 66.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/9.097, allocations: 231.1 kB / 3.25 GB, free: 66.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000912/9.098, allocations: 384.7 kB / 3.251 GB, free: 66.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/9.098, allocations: 24.66 kB / 3.251 GB, free: 66.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.38e-05/9.098, allocations: 32.33 kB / 3.251 GB, free: 65.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/9.1, allocations: 0.6216 MB / 3.252 GB, free: 65.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/9.1, allocations: 4 kB / 3.252 GB, free: 65.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/9.1, allocations: 12 kB / 3.252 GB, free: 65.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/9.1, allocations: 8 kB / 3.252 GB, free: 65.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/9.103, allocations: 0.5863 MB / 3.252 GB, free: 64.73 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.003457/9.107, allocations: 2.536 MB / 3.255 GB, free: 61.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/9.109, allocations: 461.6 kB / 3.255 GB, free: 61.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1752/9.284, allocations: 51.36 MB / 3.305 GB, free: 4.844 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/9.284, allocations: 30.56 kB / 3.305 GB, free: 4.805 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.006e-06/9.284, allocations: 0 / 3.305 GB, free: 4.805 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.004303/9.289, allocations: 0.8209 MB / 3.306 GB, free: 3.977 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/9.289, allocations: 110.8 kB / 3.306 GB, free: 3.844 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/9.289, allocations: 259.5 kB / 3.306 GB, free: 3.582 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/9.289, allocations: 29.7 kB / 3.306 GB, free: 3.547 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/9.289, allocations: 221.6 kB / 3.307 GB, free: 3.328 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.626e-05/9.289, allocations: 92.86 kB / 3.307 GB, free: 3.238 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/9.289, allocations: 4 kB / 3.307 GB, free: 3.234 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.736e-05/9.29, allocations: 342.8 kB / 3.307 GB, free: 2.891 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007002/9.29, allocations: 160.5 kB / 3.307 GB, free: 2.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007464/9.291, allocations: 276.6 kB / 3.307 GB, free: 2.406 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/9.292, allocations: 183.8 kB / 3.308 GB, free: 2.227 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/9.292, allocations: 0 / 3.308 GB, free: 2.227 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001784/9.294, allocations: 481.5 kB / 3.308 GB, free: 1.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/9.294, allocations: 9.656 kB / 3.308 GB, free: 1.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/9.294, allocations: 8.453 kB / 3.308 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/9.294, allocations: 8 kB / 3.308 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/9.294, allocations: 103.9 kB / 3.308 GB, free: 1.625 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/9.294, allocations: 4 kB / 3.308 GB, free: 1.621 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/9.295, allocations: 71.7 kB / 3.308 GB, free: 1.551 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/9.295, allocations: 20 kB / 3.308 GB, free: 1.531 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (40): * Single equations (assignments): 40 * 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.0002638/9.295, allocations: 173.6 kB / 3.308 GB, free: 1.352 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/9.296, allocations: 31.62 kB / 3.308 GB, free: 1.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.346/9.642, allocations: 1.917 MB / 3.31 GB, free: 89.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.655e-05/9.642, allocations: 31.12 kB / 3.31 GB, free: 89.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/9.642, allocations: 0 / 3.31 GB, free: 89.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/9.642, allocations: 2.453 kB / 3.31 GB, free: 89.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/9.643, allocations: 0.9796 MB / 3.311 GB, free: 89.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/9.643, allocations: 5.094 kB / 3.311 GB, free: 89.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006646/9.644, allocations: 93.47 kB / 3.311 GB, free: 89.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/9.644, allocations: 2.484 kB / 3.311 GB, free: 89.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/9.644, allocations: 12 kB / 3.311 GB, free: 89.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/9.644, allocations: 1.188 kB / 3.311 GB, free: 89.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/9.644, allocations: 1 kB / 3.311 GB, free: 89.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/9.646, allocations: 1.103 MB / 3.313 GB, free: 89.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/9.647, allocations: 208.1 kB / 3.313 GB, free: 89.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.667e-05/9.647, allocations: 6.016 kB / 3.313 GB, free: 89.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/9.647, allocations: 53.78 kB / 3.313 GB, free: 89.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/9.648, allocations: 33.2 kB / 3.313 GB, free: 89.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/9.648, allocations: 10.47 kB / 3.313 GB, free: 89.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000459/9.648, allocations: 262.4 kB / 3.313 GB, free: 89 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/9.648, allocations: 0 / 3.313 GB, free: 89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005405/9.653, allocations: 1.006 MB / 3.314 GB, free: 89 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,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.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 (35): * Single equations (assignments): 26 * 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.01378/9.667, allocations: 2.924 MB / 3.317 GB, free: 88.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002123/9.669, allocations: 0.6263 MB / 3.318 GB, free: 88.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/9.67, allocations: 4.844 kB / 3.318 GB, free: 88.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/9.671, allocations: 0.5213 MB / 3.318 GB, free: 88.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/9.673, allocations: 177.3 kB / 3.318 GB, free: 88.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2641/9.937, allocations: 81.1 MB / 3.397 GB, free: 81.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/9.937, allocations: 0.9792 MB / 3.398 GB, free: 80.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007761/9.938, allocations: 240.8 kB / 3.399 GB, free: 80.76 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/9.938, allocations: 257.2 kB / 3.399 GB, free: 80.75 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/9.938, allocations: 0 / 3.399 GB, free: 80.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08941/10.03, allocations: 38.32 MB / 3.436 GB, free: 57.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/10.03, allocations: 234.6 kB / 3.436 GB, free: 57.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.279/14.31, allocations: 3.5 kB / 3.437 GB, free: 57.26 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat