Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01016/0.01016, allocations: 177.9 kB / 15.12 MB, free: 5.93 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.916/1.916, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.002099/0.002098, allocations: 124.6 kB / 255.6 MB, free: 10.23 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.2532/0.2532, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004818, allocations: 11.47 kB / 406.3 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 54.87 MB / 461.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.846/7.962, allocations: 2.606 GB / 3.057 GB, free: 57.63 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/7.962, allocations: 87.08 kB / 3.057 GB, free: 57.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.214/9.177, allocations: 233.3 MB / 3.285 GB, free: 27.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.425e-06/9.177, allocations: 4 kB / 3.285 GB, free: 27.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.149e-05/9.177, allocations: 8 kB / 3.285 GB, free: 27.56 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.006359/9.183, allocations: 1.317 MB / 3.286 GB, free: 26.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/9.183, allocations: 8.031 kB / 3.286 GB, free: 26.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002013/9.183, allocations: 78.45 kB / 3.286 GB, free: 26.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/9.186, allocations: 247.2 kB / 3.286 GB, free: 25.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/9.188, allocations: 428 kB / 3.287 GB, free: 25.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/9.188, allocations: 32.66 kB / 3.287 GB, free: 25.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/9.188, allocations: 31.94 kB / 3.287 GB, free: 25.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/9.19, allocations: 0.6205 MB / 3.287 GB, free: 24.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/9.19, allocations: 0 / 3.287 GB, free: 24.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/9.19, allocations: 12 kB / 3.287 GB, free: 24.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/9.19, allocations: 8 kB / 3.287 GB, free: 24.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/9.193, allocations: 0.5992 MB / 3.288 GB, free: 24.05 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.003962/9.197, allocations: 2.555 MB / 3.29 GB, free: 21.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/9.2, allocations: 454.1 kB / 3.291 GB, free: 20.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5864/9.786, allocations: 51.35 MB / 3.341 GB, free: 56.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/9.786, allocations: 37.45 kB / 3.341 GB, free: 56.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 2.845e-06/9.786, allocations: 0 / 3.341 GB, free: 56.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.004242/9.79, allocations: 0.808 MB / 3.342 GB, free: 56.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/9.79, allocations: 117.9 kB / 3.342 GB, free: 56.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005252/9.791, allocations: 311.7 kB / 3.342 GB, free: 56.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/9.791, allocations: 28.08 kB / 3.342 GB, free: 56.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/9.791, allocations: 231.7 kB / 3.343 GB, free: 56.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.39e-05/9.791, allocations: 88.92 kB / 3.343 GB, free: 56.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/9.791, allocations: 9.188 kB / 3.343 GB, free: 56.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/9.791, allocations: 344 kB / 3.343 GB, free: 56.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006782/9.792, allocations: 161.3 kB / 3.343 GB, free: 56.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007696/9.793, allocations: 288.6 kB / 3.343 GB, free: 56.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007335/9.794, allocations: 180.7 kB / 3.344 GB, free: 56.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/9.794, allocations: 2.188 kB / 3.344 GB, free: 56.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001819/9.796, allocations: 0.5029 MB / 3.344 GB, free: 55.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003484/9.796, allocations: 1.48 MB / 3.345 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/9.796, allocations: 5.969 kB / 3.345 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/9.796, allocations: 10.3 kB / 3.345 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009016/9.797, allocations: 114.1 kB / 3.346 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/9.797, allocations: 8.469 kB / 3.346 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007946/9.798, allocations: 80.25 kB / 3.346 GB, free: 54.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/9.798, allocations: 22.28 kB / 3.346 GB, free: 54.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/9.798, allocations: 7.859 kB / 3.346 GB, free: 54.41 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00171/9.8, allocations: 446.7 kB / 3.346 GB, free: 54.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/9.8, allocations: 2.969 kB / 3.346 GB, free: 54.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/9.8, allocations: 10.44 kB / 3.346 GB, free: 54.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/9.8, allocations: 115.2 kB / 3.346 GB, free: 54.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/9.8, allocations: 13.06 kB / 3.346 GB, free: 54.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007151/9.801, allocations: 67.69 kB / 3.346 GB, free: 54.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/9.801, allocations: 22.73 kB / 3.346 GB, free: 54.4 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 (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.0003935/9.802, allocations: 241.7 kB / 3.347 GB, free: 54.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/9.802, allocations: 38.02 kB / 3.347 GB, free: 54.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/9.805, allocations: 1.968 MB / 3.349 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.224e-05/9.806, allocations: 31.36 kB / 3.349 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/9.806, allocations: 3.797 kB / 3.349 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/9.806, allocations: 1.312 kB / 3.349 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/9.807, allocations: 1.019 MB / 3.35 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/9.807, allocations: 0 / 3.35 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/9.808, allocations: 88.38 kB / 3.35 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/9.808, allocations: 0 / 3.35 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/9.808, allocations: 11.36 kB / 3.35 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/9.808, allocations: 3.812 kB / 3.35 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/9.808, allocations: 0 / 3.35 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/9.81, allocations: 1.116 MB / 3.351 GB, free: 53.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/9.81, allocations: 260.3 kB / 3.351 GB, free: 53.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/9.811, allocations: 10.94 kB / 3.351 GB, free: 53.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/9.811, allocations: 40.67 kB / 3.351 GB, free: 53.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/9.811, allocations: 37.81 kB / 3.351 GB, free: 53.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/9.811, allocations: 10.53 kB / 3.351 GB, free: 53.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005214/9.812, allocations: 315.8 kB / 3.351 GB, free: 53.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/9.812, allocations: 0 / 3.351 GB, free: 53.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005734/9.818, allocations: 1.18 MB / 3.353 GB, free: 53.27 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,$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.01244/9.83, allocations: 3.036 MB / 3.356 GB, free: 52.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002685/9.833, allocations: 0.8692 MB / 3.356 GB, free: 52.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/9.833, allocations: 0 / 3.356 GB, free: 52.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009775/9.834, allocations: 0.5274 MB / 3.357 GB, free: 52.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/9.836, allocations: 196.3 kB / 3.357 GB, free: 52.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2612/10.1, allocations: 80.45 MB / 3.436 GB, free: 39.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/10.1, allocations: 1 MB / 3.437 GB, free: 39.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001316/10.1, allocations: 0.518 MB / 3.437 GB, free: 38.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/10.1, allocations: 277.2 kB / 3.437 GB, free: 38.71 MB / 490.7 MB Notification: Performance of SimCode: time 1.492e-06/10.1, allocations: 0 / 3.437 GB, free: 38.71 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/10.21, allocations: 40.39 MB / 3.477 GB, free: 11.22 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/10.21, allocations: 233.4 kB / 3.477 GB, free: 10.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.676/14.89, allocations: 8 kB / 3.477 GB, free: 10.97 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat