Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001634/0.001633, allocations: 183.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000818/0.0008179, allocations: 86.61 kB / 267 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4193/0.4193, allocations: 43.46 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.823e-05/3.826e-05, allocations: 4 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.689/6.838, allocations: 2.771 GB / 3.244 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/6.838, allocations: 82.61 kB / 3.244 GB, free: 55.69 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9648/7.803, allocations: 233.9 MB / 3.472 GB, free: 41.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/7.803, allocations: 7.938 kB / 3.472 GB, free: 41.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.194e-05/7.803, allocations: 8 kB / 3.472 GB, free: 41.28 MB / 0.5105 GB 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.005694/7.809, allocations: 1.267 MB / 3.474 GB, free: 39.97 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/7.809, allocations: 8.031 kB / 3.474 GB, free: 39.96 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.749e-05/7.809, allocations: 74.53 kB / 3.474 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/7.811, allocations: 247.2 kB / 3.474 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/7.812, allocations: 417.6 kB / 3.474 GB, free: 39.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/7.812, allocations: 24.78 kB / 3.474 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/7.812, allocations: 32.52 kB / 3.474 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/7.813, allocations: 0.6029 MB / 3.475 GB, free: 38.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/7.813, allocations: 0 / 3.475 GB, free: 38.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/7.813, allocations: 15.95 kB / 3.475 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/7.813, allocations: 8 kB / 3.475 GB, free: 38.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/7.814, allocations: 0.529 MB / 3.475 GB, free: 37.95 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.00275/7.817, allocations: 2.625 MB / 3.478 GB, free: 35.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/7.818, allocations: 426.2 kB / 3.478 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/7.818, allocations: 140.8 kB / 3.479 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04202/7.86, allocations: 24.16 MB / 3.502 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/7.86, allocations: 46.5 kB / 3.502 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 3.837e-06/7.86, allocations: 3.984 kB / 3.502 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.002088/7.862, allocations: 0.6494 MB / 3.503 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/7.862, allocations: 106.8 kB / 3.503 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/7.863, allocations: 323.5 kB / 3.503 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/7.863, allocations: 33.7 kB / 3.503 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/7.863, allocations: 219.9 kB / 3.503 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/7.863, allocations: 78.86 kB / 3.504 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/7.863, allocations: 4 kB / 3.504 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/7.863, allocations: 350.8 kB / 3.504 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/7.863, allocations: 108 kB / 3.504 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/7.863, allocations: 203.8 kB / 3.504 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/7.864, allocations: 132.8 kB / 3.504 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/7.864, allocations: 0 / 3.504 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000531/7.864, allocations: 374.7 kB / 3.505 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002525/7.864, allocations: 1.047 MB / 3.506 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/7.864, allocations: 4 kB / 3.506 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/7.864, allocations: 4 kB / 3.506 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/7.865, allocations: 107.9 kB / 3.506 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/7.865, allocations: 7.938 kB / 3.506 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/7.865, allocations: 95.38 kB / 3.506 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/7.865, allocations: 19.98 kB / 3.506 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/7.865, allocations: 4.625 kB / 3.506 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004494/7.866, allocations: 308 kB / 3.506 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/7.866, allocations: 4 kB / 3.506 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-06/7.866, allocations: 4 kB / 3.506 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/7.866, allocations: 107.8 kB / 3.506 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/7.866, allocations: 7.938 kB / 3.506 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/7.867, allocations: 67.95 kB / 3.506 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/7.867, allocations: 19.98 kB / 3.506 GB, free: 2.875 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001121/7.867, allocations: 133.1 kB / 3.507 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/7.867, allocations: 39.48 kB / 3.507 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/7.869, allocations: 1.91 MB / 3.508 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/7.869, allocations: 35.95 kB / 3.508 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/7.869, allocations: 0 / 3.508 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/7.869, allocations: 3.984 kB / 3.508 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3694/8.238, allocations: 1.033 MB / 3.509 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/8.238, allocations: 0 / 3.509 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/8.239, allocations: 84.89 kB / 3.51 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/8.239, allocations: 8.5 kB / 3.51 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/8.239, allocations: 10.19 kB / 3.51 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/8.239, allocations: 2.125 kB / 3.51 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/8.239, allocations: 0.75 kB / 3.51 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/8.24, allocations: 1.032 MB / 3.511 GB, free: 76.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/8.24, allocations: 267.8 kB / 3.511 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/8.241, allocations: 11.52 kB / 3.511 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/8.241, allocations: 46.17 kB / 3.511 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/8.241, allocations: 34.47 kB / 3.511 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/8.241, allocations: 14.05 kB / 3.511 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004398/8.242, allocations: 361.2 kB / 3.511 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/8.242, allocations: 3.312 kB / 3.511 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00572/8.247, allocations: 1.188 MB / 3.512 GB, free: 76.15 MB / 0.5105 GB 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 () * 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.01043/8.258, allocations: 2.96 MB / 3.515 GB, free: 75.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001365/8.259, allocations: 0.7232 MB / 3.516 GB, free: 75.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/8.259, allocations: 3.969 kB / 3.516 GB, free: 75.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005181/8.26, allocations: 489.6 kB / 3.517 GB, free: 75.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/8.261, allocations: 213 kB / 3.517 GB, free: 75.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005058/8.266, allocations: 1.695 MB / 3.518 GB, free: 75.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/8.267, allocations: 0.9985 MB / 3.519 GB, free: 74.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009491/8.268, allocations: 0.5629 MB / 3.52 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/8.268, allocations: 268.5 kB / 3.52 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of SimCode: time 7.21e-07/8.268, allocations: 0 / 3.52 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08256/8.35, allocations: 43.79 MB / 3.563 GB, free: 73.49 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/8.351, allocations: 199 kB / 3.563 GB, free: 73.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.694/12.04, allocations: 0 / 3.563 GB, free: 73.27 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat