Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01009/0.01009, allocations: 165.2 kB / 15.11 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.641/1.641, allocations: 170.8 MB / 186.6 MB, free: 1.094 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001976/0.001976, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5105/0.5105, allocations: 38.06 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.000473, allocations: 16 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.111, allocations: 48.7 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.708/7.819, allocations: 2.496 GB / 2.898 GB, free: 38.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/7.819, allocations: 84.45 kB / 2.899 GB, free: 38.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513/9.333, allocations: 232 MB / 3.125 GB, free: 41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/9.333, allocations: 3.219 kB / 3.125 GB, free: 41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.514e-05/9.333, allocations: 9.812 kB / 3.125 GB, free: 41 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00633/9.339, allocations: 1.317 MB / 3.126 GB, free: 40.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/9.339, allocations: 10.34 kB / 3.126 GB, free: 40.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001904/9.339, allocations: 72.7 kB / 3.126 GB, free: 40.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003019/9.342, allocations: 239.2 kB / 3.127 GB, free: 40.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/9.344, allocations: 429.7 kB / 3.127 GB, free: 40.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/9.344, allocations: 28.56 kB / 3.127 GB, free: 40.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.148e-05/9.344, allocations: 34.22 kB / 3.127 GB, free: 40.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/9.346, allocations: 0.6286 MB / 3.128 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/9.347, allocations: 8.219 kB / 3.128 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/9.347, allocations: 16.5 kB / 3.128 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/9.347, allocations: 12 kB / 3.128 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/9.349, allocations: 0.5855 MB / 3.128 GB, free: 39.94 MB / 426.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.004348/9.354, allocations: 2.662 MB / 3.131 GB, free: 38.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/9.356, allocations: 0.5266 MB / 3.132 GB, free: 38.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2069/9.563, allocations: 54.81 MB / 3.185 GB, free: 39.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/9.564, allocations: 42.89 kB / 3.185 GB, free: 39.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/9.564, allocations: 0 / 3.185 GB, free: 39.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=28): time 0.003903/9.567, allocations: 0.7902 MB / 3.186 GB, free: 39.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/9.568, allocations: 102.8 kB / 3.186 GB, free: 39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/9.568, allocations: 331.6 kB / 3.186 GB, free: 38.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.448e-05/9.568, allocations: 32.73 kB / 3.186 GB, free: 38.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/9.568, allocations: 246.2 kB / 3.187 GB, free: 38.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.789e-05/9.569, allocations: 93.88 kB / 3.187 GB, free: 38.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/9.569, allocations: 6.5 kB / 3.187 GB, free: 38.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/9.569, allocations: 353.8 kB / 3.187 GB, free: 38.37 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/9.569, allocations: 152.5 kB / 3.187 GB, free: 38.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000668/9.57, allocations: 304.2 kB / 3.187 GB, free: 38.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006874/9.571, allocations: 190.5 kB / 3.188 GB, free: 38.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/9.571, allocations: 0 / 3.188 GB, free: 38.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001787/9.573, allocations: 0.4983 MB / 3.188 GB, free: 38.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008471/9.573, allocations: 1.829 MB / 3.19 GB, free: 36.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/9.573, allocations: 7.125 kB / 3.19 GB, free: 36.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/9.574, allocations: 11.25 kB / 3.19 GB, free: 36.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/9.574, allocations: 115.4 kB / 3.19 GB, free: 36.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/9.574, allocations: 9.531 kB / 3.19 GB, free: 36.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007315/9.575, allocations: 78.88 kB / 3.19 GB, free: 36.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/9.575, allocations: 24.25 kB / 3.19 GB, free: 36.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/9.575, allocations: 3.375 kB / 3.19 GB, free: 36.14 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001595/9.577, allocations: 447.4 kB / 3.191 GB, free: 36.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/9.577, allocations: 7.781 kB / 3.191 GB, free: 36.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/9.577, allocations: 6.594 kB / 3.191 GB, free: 36.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/9.578, allocations: 113.4 kB / 3.191 GB, free: 36.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/9.578, allocations: 13.61 kB / 3.191 GB, free: 36.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/9.578, allocations: 70.23 kB / 3.191 GB, free: 36.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/9.578, allocations: 26.47 kB / 3.191 GB, free: 36.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (49): * Single equations (assignments): 49 * 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.0004357/9.579, allocations: 252.6 kB / 3.191 GB, free: 35.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/9.579, allocations: 38.78 kB / 3.191 GB, free: 35.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/9.582, allocations: 1.935 MB / 3.193 GB, free: 35.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/9.582, allocations: 30.5 kB / 3.193 GB, free: 35.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/9.582, allocations: 3.062 kB / 3.193 GB, free: 35.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/9.582, allocations: 0 / 3.193 GB, free: 35.63 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/9.584, allocations: 1.036 MB / 3.194 GB, free: 35.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/9.584, allocations: 7.703 kB / 3.194 GB, free: 35.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/9.584, allocations: 80.41 kB / 3.194 GB, free: 35.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/9.585, allocations: 2.719 kB / 3.194 GB, free: 35.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/9.585, allocations: 12.22 kB / 3.194 GB, free: 35.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/9.585, allocations: 0 / 3.194 GB, free: 35.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/9.585, allocations: 4.844 kB / 3.194 GB, free: 35.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/9.587, allocations: 1.103 MB / 3.195 GB, free: 35.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004929/9.587, allocations: 254.1 kB / 3.195 GB, free: 34.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/9.587, allocations: 3.875 kB / 3.195 GB, free: 34.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/9.588, allocations: 46.78 kB / 3.195 GB, free: 34.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/9.588, allocations: 36.17 kB / 3.195 GB, free: 34.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/9.588, allocations: 10.94 kB / 3.195 GB, free: 34.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005967/9.589, allocations: 316.9 kB / 3.196 GB, free: 34.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/9.589, allocations: 0 / 3.196 GB, free: 34.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006045/9.595, allocations: 1.154 MB / 3.197 GB, free: 34.66 MB / 458.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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.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 (40): * Single equations (assignments): 31 * 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.0126/9.607, allocations: 2.98 MB / 3.2 GB, free: 33.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002503/9.61, allocations: 0.8602 MB / 3.201 GB, free: 33.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/9.61, allocations: 1.594 kB / 3.201 GB, free: 33.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009547/9.611, allocations: 0.5197 MB / 3.201 GB, free: 33.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/9.613, allocations: 203.4 kB / 3.201 GB, free: 33.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5816/10.19, allocations: 84.72 MB / 3.284 GB, free: 65.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/10.2, allocations: 1.008 MB / 3.285 GB, free: 64.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00168/10.2, allocations: 0.5218 MB / 3.286 GB, free: 64.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006557/10.2, allocations: 282.9 kB / 3.286 GB, free: 64.48 MB / 458.7 MB Notification: Performance of SimCode: time 1.773e-06/10.2, allocations: 0 / 3.286 GB, free: 64.48 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/10.3, allocations: 40.07 MB / 3.325 GB, free: 63.95 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/10.3, allocations: 234.4 kB / 3.325 GB, free: 63.71 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.35/14.66, allocations: 0 / 3.325 GB, free: 63.71 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat