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.00147/0.00147, allocations: 177.7 kB / 17.06 MB, free: 5.094 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.486/1.486, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009826, allocations: 100.9 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3709/0.3709, allocations: 44.21 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 12 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3988, allocations: 61.9 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.94/7.339, allocations: 2.776 GB / 3.286 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/7.34, allocations: 90.48 kB / 3.286 GB, free: 76.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.823/8.163, allocations: 237.1 MB / 3.517 GB, free: 52.78 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.396e-06/8.163, allocations: 0 / 3.517 GB, free: 52.78 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.216e-05/8.163, allocations: 8 kB / 3.517 GB, free: 52.77 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.006848/8.17, allocations: 1.328 MB / 3.519 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/8.17, allocations: 16.03 kB / 3.519 GB, free: 51.38 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/8.17, allocations: 66.53 kB / 3.519 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/8.172, allocations: 244.1 kB / 3.519 GB, free: 51.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007918/8.173, allocations: 411.2 kB / 3.519 GB, free: 50.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/8.173, allocations: 32.66 kB / 3.52 GB, free: 50.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/8.173, allocations: 32 kB / 3.52 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/8.174, allocations: 0.6243 MB / 3.52 GB, free: 49.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/8.174, allocations: 4 kB / 3.52 GB, free: 49.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/8.175, allocations: 15.98 kB / 3.52 GB, free: 49.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/8.175, allocations: 8 kB / 3.52 GB, free: 49.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/8.176, allocations: 0.5953 MB / 3.521 GB, free: 49.27 MB / 0.5261 GB 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.00285/8.179, allocations: 2.621 MB / 3.523 GB, free: 46.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/8.18, allocations: 474.1 kB / 3.524 GB, free: 45.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03973/8.22, allocations: 24.07 MB / 3.547 GB, free: 18.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/8.22, allocations: 38.56 kB / 3.547 GB, free: 18.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.076e-06/8.22, allocations: 0 / 3.547 GB, free: 18.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002825/8.223, allocations: 0.8342 MB / 3.548 GB, free: 18.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/8.223, allocations: 106.8 kB / 3.548 GB, free: 17.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/8.224, allocations: 336.7 kB / 3.549 GB, free: 17.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/8.224, allocations: 29.7 kB / 3.549 GB, free: 17.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/8.224, allocations: 228.1 kB / 3.549 GB, free: 17.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/8.224, allocations: 82.75 kB / 3.549 GB, free: 17.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/8.224, allocations: 8 kB / 3.549 GB, free: 17.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.852e-05/8.224, allocations: 342.8 kB / 3.549 GB, free: 16.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/8.224, allocations: 159.9 kB / 3.549 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/8.225, allocations: 271.6 kB / 3.55 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/8.225, allocations: 172.7 kB / 3.55 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/8.225, allocations: 3.984 kB / 3.55 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009967/8.226, allocations: 490.9 kB / 3.55 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002116/8.226, allocations: 1.055 MB / 3.551 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/8.226, allocations: 7.938 kB / 3.551 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/8.226, allocations: 4 kB / 3.551 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/8.227, allocations: 107.9 kB / 3.551 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/8.227, allocations: 4 kB / 3.551 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/8.227, allocations: 75.64 kB / 3.551 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/8.227, allocations: 23.92 kB / 3.551 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/8.227, allocations: 5.562 kB / 3.551 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008647/8.228, allocations: 419.6 kB / 3.552 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/8.228, allocations: 4 kB / 3.552 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/8.228, allocations: 4 kB / 3.552 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/8.229, allocations: 112 kB / 3.552 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/8.229, allocations: 11.94 kB / 3.552 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/8.229, allocations: 71.55 kB / 3.552 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/8.229, allocations: 19.98 kB / 3.552 GB, free: 13.82 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 () * Number of clocked 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.0002425/8.229, allocations: 237.6 kB / 3.552 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/8.229, allocations: 39.53 kB / 3.552 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/8.232, allocations: 1.972 MB / 3.554 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/8.232, allocations: 35.95 kB / 3.554 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/8.232, allocations: 3.953 kB / 3.554 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/8.232, allocations: 7.984 kB / 3.554 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009817/8.233, allocations: 1.039 MB / 3.555 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/8.233, allocations: 0 / 3.555 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/8.233, allocations: 99.8 kB / 3.555 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/8.233, allocations: 0 / 3.555 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/8.233, allocations: 8 kB / 3.555 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/8.233, allocations: 0 / 3.555 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/8.233, allocations: 0 / 3.555 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/8.234, allocations: 1.13 MB / 3.557 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/8.235, allocations: 263.3 kB / 3.557 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-05/8.235, allocations: 4 kB / 3.557 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/8.235, allocations: 59.83 kB / 3.557 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/8.235, allocations: 31.95 kB / 3.557 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/8.235, allocations: 11.98 kB / 3.557 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003835/8.236, allocations: 370.8 kB / 3.557 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/8.236, allocations: 0 / 3.557 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005365/8.241, allocations: 1.194 MB / 3.558 GB, free: 7.227 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 () * 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.01002/8.251, allocations: 3.055 MB / 3.561 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001668/8.253, allocations: 0.8662 MB / 3.562 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/8.253, allocations: 4.312 kB / 3.562 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005866/8.253, allocations: 0.533 MB / 3.563 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/8.255, allocations: 218.7 kB / 3.563 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2684/8.523, allocations: 4.463 MB / 3.567 GB, free: 76.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/8.524, allocations: 0.9977 MB / 3.568 GB, free: 75.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001169/8.525, allocations: 0.5334 MB / 3.569 GB, free: 75.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/8.525, allocations: 278.1 kB / 3.569 GB, free: 75.7 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/8.525, allocations: 0 / 3.569 GB, free: 75.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06907/8.594, allocations: 41.16 MB / 3.609 GB, free: 75.13 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/8.594, allocations: 231.7 kB / 3.61 GB, free: 74.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.502/12.1, allocations: 0 / 3.61 GB, free: 74.89 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