Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 91.8 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2354/0.2354, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.781e-05, allocations: 4.219 kB / 451.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1479, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.857/7.005, allocations: 2.776 GB / 3.278 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/7.006, allocations: 83.42 kB / 3.278 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8493/7.855, allocations: 236.3 MB / 3.509 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.266e-06/7.855, allocations: 3.281 kB / 3.509 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.83e-05/7.855, allocations: 15.09 kB / 3.509 GB, free: 84.34 MB / 0.5261 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.006083/7.861, allocations: 1.284 MB / 3.51 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/7.861, allocations: 8.469 kB / 3.51 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/7.862, allocations: 68.95 kB / 3.51 GB, free: 83.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/7.864, allocations: 244 kB / 3.51 GB, free: 83.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009114/7.865, allocations: 415.6 kB / 3.511 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/7.865, allocations: 30.81 kB / 3.511 GB, free: 83.13 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/7.865, allocations: 34.84 kB / 3.511 GB, free: 83.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/7.866, allocations: 0.5971 MB / 3.511 GB, free: 82.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/7.866, allocations: 7.781 kB / 3.511 GB, free: 82.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/7.866, allocations: 15.97 kB / 3.511 GB, free: 82.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/7.866, allocations: 11.56 kB / 3.511 GB, free: 82.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/7.867, allocations: 0.5196 MB / 3.512 GB, free: 82.68 MB / 0.5261 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.003057/7.871, allocations: 2.626 MB / 3.515 GB, free: 80.53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/7.872, allocations: 427.9 kB / 3.515 GB, free: 80.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/7.872, allocations: 144.3 kB / 3.515 GB, free: 80.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04389/7.916, allocations: 24.16 MB / 3.539 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/7.916, allocations: 34.36 kB / 3.539 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.928e-06/7.916, allocations: 3.406 kB / 3.539 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002209/7.918, allocations: 0.6459 MB / 3.539 GB, free: 64.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/7.918, allocations: 106.4 kB / 3.539 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/7.919, allocations: 326.9 kB / 3.54 GB, free: 64.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/7.919, allocations: 29.7 kB / 3.54 GB, free: 64.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/7.919, allocations: 221.1 kB / 3.54 GB, free: 64.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.03e-05/7.919, allocations: 80.44 kB / 3.54 GB, free: 64.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/7.919, allocations: 7.719 kB / 3.54 GB, free: 64.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001008/7.919, allocations: 346 kB / 3.54 GB, free: 64.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/7.919, allocations: 113.4 kB / 3.54 GB, free: 64.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/7.919, allocations: 207.7 kB / 3.541 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/7.92, allocations: 138.1 kB / 3.541 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/7.92, allocations: 0 / 3.541 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006363/7.92, allocations: 388 kB / 3.541 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002854/7.921, allocations: 1.046 MB / 3.542 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/7.921, allocations: 2.688 kB / 3.542 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/7.921, allocations: 7.312 kB / 3.542 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/7.921, allocations: 109.4 kB / 3.542 GB, free: 62.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/7.921, allocations: 7.75 kB / 3.542 GB, free: 62.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/7.922, allocations: 78.7 kB / 3.542 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/7.922, allocations: 23.22 kB / 3.542 GB, free: 62.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/7.922, allocations: 4.938 kB / 3.542 GB, free: 62.47 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005034/7.922, allocations: 305 kB / 3.543 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/7.922, allocations: 1 kB / 3.543 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/7.922, allocations: 7.25 kB / 3.543 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/7.923, allocations: 111.5 kB / 3.543 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/7.923, allocations: 7.766 kB / 3.543 GB, free: 62.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/7.923, allocations: 63.97 kB / 3.543 GB, free: 62.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/7.923, allocations: 22.67 kB / 3.543 GB, free: 62.32 MB / 0.5261 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.0001351/7.923, allocations: 132.3 kB / 3.543 GB, free: 62.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.081e-05/7.923, allocations: 38.66 kB / 3.543 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/7.925, allocations: 1.909 MB / 3.545 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-05/7.925, allocations: 32.61 kB / 3.545 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/7.925, allocations: 3.953 kB / 3.545 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/7.925, allocations: 0 / 3.545 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009783/7.926, allocations: 1.042 MB / 3.546 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/7.926, allocations: 0 / 3.546 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/7.927, allocations: 94.06 kB / 3.546 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/7.927, allocations: 2.906 kB / 3.546 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/7.927, allocations: 7.656 kB / 3.546 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/7.927, allocations: 0 / 3.546 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/7.927, allocations: 3.609 kB / 3.546 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009498/7.928, allocations: 1.042 MB / 3.547 GB, free: 60.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/7.928, allocations: 259.2 kB / 3.547 GB, free: 59.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/7.928, allocations: 11.91 kB / 3.547 GB, free: 59.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/7.928, allocations: 41.84 kB / 3.547 GB, free: 59.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/7.929, allocations: 33.64 kB / 3.547 GB, free: 59.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/7.929, allocations: 17.83 kB / 3.547 GB, free: 59.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003717/7.929, allocations: 356.6 kB / 3.548 GB, free: 59.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.8e-07/7.929, allocations: 3.844 kB / 3.548 GB, free: 59.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005037/7.934, allocations: 1.197 MB / 3.549 GB, free: 59.45 MB / 0.5261 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.01117/7.945, allocations: 2.951 MB / 3.552 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001428/7.947, allocations: 0.7219 MB / 3.553 GB, free: 57.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/7.947, allocations: 0 / 3.553 GB, free: 57.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005125/7.947, allocations: 491.7 kB / 3.553 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/7.949, allocations: 227.9 kB / 3.553 GB, free: 57.57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/7.954, allocations: 1.689 MB / 3.555 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/7.955, allocations: 0.9998 MB / 3.556 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001025/7.956, allocations: 0.5604 MB / 3.556 GB, free: 56.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/7.956, allocations: 269.9 kB / 3.557 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of SimCode: time 1.353e-06/7.956, allocations: 0 / 3.557 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07177/8.028, allocations: 43.83 MB / 3.599 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/8.028, allocations: 208 kB / 3.6 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.661/11.69, allocations: 2.391 kB / 3.6 GB, free: 31.88 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat