Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",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.01076/0.01076, allocations: 166.3 kB / 15.11 MB, free: 5.988 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.677/1.677, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001996/0.001996, allocations: 111.3 kB / 226.2 MB, free: 10.12 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.4404/0.4404, allocations: 38.05 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004662, allocations: 8 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1048, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.845/7.95, allocations: 2.496 GB / 2.898 GB, free: 39.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/7.95, allocations: 83.08 kB / 2.898 GB, free: 39.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.49/9.44, allocations: 229 MB / 3.122 GB, free: 40.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/9.44, allocations: 0 / 3.122 GB, free: 40.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.334e-05/9.44, allocations: 11.72 kB / 3.122 GB, free: 40.92 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.006478/9.446, allocations: 1.304 MB / 3.123 GB, free: 40.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/9.446, allocations: 13.88 kB / 3.123 GB, free: 40.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/9.447, allocations: 69.09 kB / 3.123 GB, free: 40.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/9.45, allocations: 233.9 kB / 3.123 GB, free: 40.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/9.451, allocations: 424.1 kB / 3.123 GB, free: 40.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/9.451, allocations: 30.41 kB / 3.124 GB, free: 40.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/9.451, allocations: 31.88 kB / 3.124 GB, free: 40.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/9.454, allocations: 0.6163 MB / 3.124 GB, free: 39.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/9.454, allocations: 2.156 kB / 3.124 GB, free: 39.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/9.454, allocations: 17.7 kB / 3.124 GB, free: 39.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/9.454, allocations: 6.094 kB / 3.124 GB, free: 39.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/9.456, allocations: 0.606 MB / 3.125 GB, free: 39.9 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.004289/9.461, allocations: 2.558 MB / 3.127 GB, free: 38.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/9.463, allocations: 450.3 kB / 3.128 GB, free: 38.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1919/9.655, allocations: 51.31 MB / 3.178 GB, free: 25.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/9.655, allocations: 30.56 kB / 3.178 GB, free: 25.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.424e-06/9.655, allocations: 0 / 3.178 GB, free: 25.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.004086/9.659, allocations: 0.8074 MB / 3.179 GB, free: 25.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/9.659, allocations: 106.6 kB / 3.179 GB, free: 25.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005239/9.66, allocations: 315.8 kB / 3.179 GB, free: 25.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/9.66, allocations: 28.08 kB / 3.179 GB, free: 25.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/9.66, allocations: 229.4 kB / 3.179 GB, free: 25.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.911e-05/9.66, allocations: 89.75 kB / 3.179 GB, free: 25.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/9.66, allocations: 8.5 kB / 3.179 GB, free: 25.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000914/9.661, allocations: 351.5 kB / 3.18 GB, free: 40.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007254/9.662, allocations: 160.2 kB / 3.18 GB, free: 40.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/9.663, allocations: 287.2 kB / 3.18 GB, free: 40.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007436/9.664, allocations: 188 kB / 3.18 GB, free: 40.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/9.664, allocations: 0 / 3.18 GB, free: 40.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00182/9.665, allocations: 0.5072 MB / 3.181 GB, free: 40.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005666/9.666, allocations: 1.481 MB / 3.182 GB, free: 39.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/9.666, allocations: 3.906 kB / 3.182 GB, free: 39.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/9.666, allocations: 7.188 kB / 3.182 GB, free: 39.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/9.667, allocations: 116.9 kB / 3.182 GB, free: 39.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.66e-05/9.667, allocations: 10.58 kB / 3.182 GB, free: 39.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/9.668, allocations: 73.08 kB / 3.182 GB, free: 39.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/9.668, allocations: 24.23 kB / 3.182 GB, free: 39.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/9.668, allocations: 3.844 kB / 3.182 GB, free: 39.18 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001614/9.669, allocations: 437.8 kB / 3.183 GB, free: 39.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/9.669, allocations: 12.62 kB / 3.183 GB, free: 39.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/9.669, allocations: 6.906 kB / 3.183 GB, free: 39.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/9.67, allocations: 117.9 kB / 3.183 GB, free: 39.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/9.67, allocations: 7.781 kB / 3.183 GB, free: 39.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006896/9.671, allocations: 69.91 kB / 3.183 GB, free: 39.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/9.671, allocations: 23.7 kB / 3.183 GB, free: 39.15 MB / 458.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 (V1.state_b.phase,V1.state_a.phase,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 initialization (43): * Single equations (assignments): 43 * 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.0003907/9.671, allocations: 243.5 kB / 3.183 GB, free: 38.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/9.672, allocations: 39.03 kB / 3.183 GB, free: 38.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003495/9.675, allocations: 1.972 MB / 3.185 GB, free: 38.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.791e-05/9.675, allocations: 27.48 kB / 3.185 GB, free: 38.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/9.675, allocations: 0 / 3.185 GB, free: 38.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/9.675, allocations: 0 / 3.185 GB, free: 38.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/9.677, allocations: 1.021 MB / 3.186 GB, free: 38.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/9.677, allocations: 0 / 3.186 GB, free: 38.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/9.677, allocations: 89.55 kB / 3.186 GB, free: 38.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/9.677, allocations: 0 / 3.186 GB, free: 38.42 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/9.677, allocations: 9.594 kB / 3.186 GB, free: 38.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/9.677, allocations: 7.297 kB / 3.186 GB, free: 38.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/9.677, allocations: 0 / 3.186 GB, free: 38.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/9.679, allocations: 1.113 MB / 3.188 GB, free: 38.17 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/9.68, allocations: 258.9 kB / 3.188 GB, free: 38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/9.68, allocations: 4.875 kB / 3.188 GB, free: 38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005687/9.681, allocations: 49.78 kB / 3.188 GB, free: 37.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/9.681, allocations: 34.03 kB / 3.188 GB, free: 37.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/9.681, allocations: 17.06 kB / 3.188 GB, free: 37.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005269/9.681, allocations: 307.9 kB / 3.188 GB, free: 37.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/9.681, allocations: 4 kB / 3.188 GB, free: 37.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006152/9.687, allocations: 1.172 MB / 3.189 GB, free: 37.71 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,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.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.01303/9.701, allocations: 3.028 MB / 3.192 GB, free: 36.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00279/9.703, allocations: 0.8796 MB / 3.193 GB, free: 36.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/9.703, allocations: 0 / 3.193 GB, free: 36.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/9.704, allocations: 0.528 MB / 3.194 GB, free: 36.65 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/9.706, allocations: 195.8 kB / 3.194 GB, free: 36.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2396/9.946, allocations: 79.17 MB / 3.271 GB, free: 7.996 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/9.947, allocations: 1.001 MB / 3.272 GB, free: 7.074 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001506/9.948, allocations: 0.5221 MB / 3.273 GB, free: 6.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005242/9.949, allocations: 271.7 kB / 3.273 GB, free: 6.531 MB / 458.7 MB Notification: Performance of SimCode: time 1.212e-06/9.949, allocations: 4 kB / 3.273 GB, free: 6.527 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4285/10.38, allocations: 40.22 MB / 3.312 GB, free: 62.61 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/10.38, allocations: 229.3 kB / 3.312 GB, free: 62.37 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.301/14.68, allocations: 0.75 kB / 3.312 GB, free: 62.37 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat