Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009699/0.009699, allocations: 174.4 kB / 15.12 MB, free: 6 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.893/1.893, allocations: 194.5 MB / 210.3 MB, free: 11.4 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.002011/0.00201, allocations: 112.7 kB / 255.6 MB, free: 14.52 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.4342/0.4342, allocations: 40 MB / 340.8 MB, free: 15 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007119/0.0007118, allocations: 11.98 kB / 406.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.373, allocations: 54.87 MB / 461.2 MB, free: 24.51 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.889/8.262, allocations: 2.607 GB / 3.057 GB, free: 89.86 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/8.263, allocations: 86.7 kB / 3.058 GB, free: 89.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.234/9.496, allocations: 236.4 MB / 3.288 GB, free: 53.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.726e-06/9.497, allocations: 0 / 3.288 GB, free: 53.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.648e-05/9.497, allocations: 8 kB / 3.288 GB, free: 53.42 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.006575/9.503, allocations: 1.341 MB / 3.29 GB, free: 52.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/9.503, allocations: 8.031 kB / 3.29 GB, free: 52.03 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002365/9.504, allocations: 70.53 kB / 3.29 GB, free: 51.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/9.507, allocations: 251.2 kB / 3.29 GB, free: 51.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/9.508, allocations: 437.4 kB / 3.29 GB, free: 51.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/9.508, allocations: 32.59 kB / 3.29 GB, free: 51.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.572e-05/9.508, allocations: 28 kB / 3.29 GB, free: 51.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/9.511, allocations: 0.6378 MB / 3.291 GB, free: 50.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/9.511, allocations: 8 kB / 3.291 GB, free: 50.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.346e-05/9.511, allocations: 12 kB / 3.291 GB, free: 50.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/9.511, allocations: 8 kB / 3.291 GB, free: 50.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/9.514, allocations: 0.584 MB / 3.292 GB, free: 49.89 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.004526/9.518, allocations: 2.653 MB / 3.294 GB, free: 47.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/9.521, allocations: 0.5219 MB / 3.295 GB, free: 46.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5656/10.09, allocations: 54.85 MB / 3.348 GB, free: 72.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/10.09, allocations: 38.2 kB / 3.348 GB, free: 72.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.436e-06/10.09, allocations: 0 / 3.348 GB, free: 72.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.004511/10.09, allocations: 0.7898 MB / 3.349 GB, free: 72.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/10.09, allocations: 108 kB / 3.349 GB, free: 72.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/10.09, allocations: 326.9 kB / 3.35 GB, free: 72.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/10.09, allocations: 30.08 kB / 3.35 GB, free: 72.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/10.09, allocations: 247.2 kB / 3.35 GB, free: 71.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/10.09, allocations: 96.19 kB / 3.35 GB, free: 71.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/10.09, allocations: 7.375 kB / 3.35 GB, free: 71.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/10.09, allocations: 352 kB / 3.35 GB, free: 71.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006372/10.09, allocations: 151.7 kB / 3.35 GB, free: 71.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007314/10.09, allocations: 305.7 kB / 3.351 GB, free: 71.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/10.1, allocations: 180.8 kB / 3.351 GB, free: 71.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/10.1, allocations: 4.531 kB / 3.351 GB, free: 71.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001914/10.1, allocations: 0.5045 MB / 3.351 GB, free: 71.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004184/10.1, allocations: 1.83 MB / 3.353 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/10.1, allocations: 5.188 kB / 3.353 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/10.1, allocations: 8.25 kB / 3.353 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/10.1, allocations: 119.8 kB / 3.353 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/10.1, allocations: 7.469 kB / 3.353 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/10.1, allocations: 78 kB / 3.353 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.051e-05/10.1, allocations: 24.38 kB / 3.353 GB, free: 69.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/10.1, allocations: 8.328 kB / 3.353 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001721/10.1, allocations: 444.6 kB / 3.354 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/10.1, allocations: 8.688 kB / 3.354 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/10.1, allocations: 6.781 kB / 3.354 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000741/10.1, allocations: 112.5 kB / 3.354 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/10.1, allocations: 12.94 kB / 3.354 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006667/10.1, allocations: 65.33 kB / 3.354 GB, free: 69.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/10.1, allocations: 20.5 kB / 3.354 GB, free: 69.44 MB / 490.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.0003766/10.1, allocations: 252.2 kB / 3.354 GB, free: 69.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/10.1, allocations: 42.31 kB / 3.354 GB, free: 69.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003588/10.11, allocations: 1.947 MB / 3.356 GB, free: 69.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-05/10.11, allocations: 29.33 kB / 3.356 GB, free: 69.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/10.11, allocations: 0 / 3.356 GB, free: 69.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/10.11, allocations: 3.844 kB / 3.356 GB, free: 69.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/10.11, allocations: 1.03 MB / 3.357 GB, free: 68.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/10.11, allocations: 0 / 3.357 GB, free: 68.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/10.11, allocations: 84.62 kB / 3.357 GB, free: 68.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/10.11, allocations: 3.031 kB / 3.357 GB, free: 68.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/10.11, allocations: 9.875 kB / 3.357 GB, free: 68.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/10.11, allocations: 3.656 kB / 3.357 GB, free: 68.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/10.11, allocations: 0 / 3.357 GB, free: 68.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/10.11, allocations: 1.107 MB / 3.358 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/10.11, allocations: 258.9 kB / 3.359 GB, free: 68.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/10.11, allocations: 6.672 kB / 3.359 GB, free: 68.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/10.11, allocations: 39.38 kB / 3.359 GB, free: 68.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/10.11, allocations: 30.88 kB / 3.359 GB, free: 68.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/10.11, allocations: 17.84 kB / 3.359 GB, free: 68.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005189/10.11, allocations: 314.5 kB / 3.359 GB, free: 68.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/10.11, allocations: 0 / 3.359 GB, free: 68.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005629/10.12, allocations: 1.16 MB / 3.36 GB, free: 68.3 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,$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.01197/10.13, allocations: 2.978 MB / 3.363 GB, free: 67.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002626/10.13, allocations: 0.8646 MB / 3.364 GB, free: 67.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/10.13, allocations: 3.781 kB / 3.364 GB, free: 67.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009082/10.13, allocations: 0.5139 MB / 3.364 GB, free: 67.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/10.14, allocations: 195.8 kB / 3.365 GB, free: 67.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2674/10.4, allocations: 86.01 MB / 3.449 GB, free: 55.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/10.4, allocations: 1.002 MB / 3.45 GB, free: 55.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001399/10.41, allocations: 0.5259 MB / 3.45 GB, free: 54.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005251/10.41, allocations: 284.5 kB / 3.45 GB, free: 54.66 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/10.41, allocations: 0 / 3.45 GB, free: 54.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/10.52, allocations: 40.2 MB / 3.49 GB, free: 27.48 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003448/10.52, allocations: 245.4 kB / 3.49 GB, free: 27.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.286/14.81, allocations: 0 / 3.49 GB, free: 27.23 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat