Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",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.001196/0.001196, allocations: 180.5 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.552/1.552, allocations: 221.3 MB / 236 MB, free: 2.91 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.001351/0.001351, allocations: 89.86 kB / 287 MB, free: 176 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.2368/0.2368, allocations: 44.16 MB / 382 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.236e-05, allocations: 8.203 kB / 451.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.158, allocations: 61.91 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.275/7.433, allocations: 2.787 GB / 3.289 GB, free: 83.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/7.434, allocations: 82.27 kB / 3.289 GB, free: 83.26 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.492/8.926, allocations: 443.7 MB / 3.722 GB, free: 56.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.515e-06/8.926, allocations: 3.594 kB / 3.722 GB, free: 56.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.864e-05/8.926, allocations: 14.56 kB / 3.722 GB, free: 56.43 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007578/8.933, allocations: 1.747 MB / 3.724 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/8.933, allocations: 9.75 kB / 3.724 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/8.934, allocations: 111.2 kB / 3.724 GB, free: 55.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/8.936, allocations: 322.9 kB / 3.724 GB, free: 55.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/8.937, allocations: 0.5688 MB / 3.725 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/8.937, allocations: 51.03 kB / 3.725 GB, free: 54.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.294e-05/8.937, allocations: 56.53 kB / 3.725 GB, free: 54.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/8.939, allocations: 0.9552 MB / 3.726 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/8.939, allocations: 3.938 kB / 3.726 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/8.939, allocations: 27.56 kB / 3.726 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/8.939, allocations: 26.34 kB / 3.726 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/8.941, allocations: 0.805 MB / 3.727 GB, free: 54.11 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.00425/8.945, allocations: 4.454 MB / 3.731 GB, free: 50.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/8.947, allocations: 0.7049 MB / 3.732 GB, free: 49.69 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/8.947, allocations: 236.6 kB / 3.732 GB, free: 49.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09317/9.04, allocations: 55.75 MB / 3.787 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/9.04, allocations: 39 kB / 3.787 GB, free: 3.277 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.415e-06/9.04, allocations: 0 / 3.787 GB, free: 3.277 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.005176/9.046, allocations: 1.855 MB / 3.788 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/9.046, allocations: 107.2 kB / 3.789 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006371/9.046, allocations: 460.8 kB / 3.789 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/9.046, allocations: 41.7 kB / 3.789 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/9.047, allocations: 327.8 kB / 3.789 GB, free: 416 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/9.047, allocations: 182.8 kB / 3.79 GB, free: 236 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/9.047, allocations: 16 kB / 3.79 GB, free: 220 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.3651/9.412, allocations: 365.6 kB / 3.79 GB, free: 85.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/9.413, allocations: 188.2 kB / 3.79 GB, free: 85.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/9.413, allocations: 359.7 kB / 3.79 GB, free: 85.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/9.414, allocations: 232.5 kB / 3.791 GB, free: 85.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/9.414, allocations: 3.594 kB / 3.791 GB, free: 85.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001894/9.415, allocations: 0.8151 MB / 3.791 GB, free: 84.97 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003371/9.416, allocations: 1.831 MB / 3.793 GB, free: 83.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/9.416, allocations: 9.406 kB / 3.793 GB, free: 83.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/9.418, allocations: 400.6 kB / 3.794 GB, free: 83.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/9.418, allocations: 135.6 kB / 3.794 GB, free: 83.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009717/9.419, allocations: 0.866 MB / 3.795 GB, free: 82.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008298/9.42, allocations: 93.77 kB / 3.795 GB, free: 82.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/9.42, allocations: 37.33 kB / 3.795 GB, free: 82.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/9.42, allocations: 3.844 kB / 3.795 GB, free: 82.54 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001476/9.422, allocations: 0.6978 MB / 3.795 GB, free: 82.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/9.422, allocations: 6.406 kB / 3.795 GB, free: 82.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/9.423, allocations: 281.1 kB / 3.796 GB, free: 82.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/9.423, allocations: 142.9 kB / 3.796 GB, free: 82.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008351/9.424, allocations: 0.83 MB / 3.797 GB, free: 81.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/9.425, allocations: 87.47 kB / 3.797 GB, free: 81.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/9.425, allocations: 33.81 kB / 3.797 GB, free: 81.97 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002257/9.425, allocations: 139.1 kB / 3.797 GB, free: 81.87 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/9.426, allocations: 73.64 kB / 3.797 GB, free: 81.86 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003532/9.429, allocations: 2.666 MB / 3.8 GB, free: 81.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.475e-05/9.429, allocations: 38.5 kB / 3.8 GB, free: 81.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/9.429, allocations: 0 / 3.8 GB, free: 81.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/9.429, allocations: 3.656 kB / 3.8 GB, free: 81.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/9.434, allocations: 3.725 MB / 3.803 GB, free: 81.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/9.434, allocations: 0 / 3.803 GB, free: 81.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/9.435, allocations: 151.3 kB / 3.803 GB, free: 81.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000381/9.435, allocations: 94.23 kB / 3.803 GB, free: 81.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/9.435, allocations: 25.03 kB / 3.803 GB, free: 81.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005973/9.436, allocations: 1.131 MB / 3.805 GB, free: 80.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/9.436, allocations: 3.906 kB / 3.805 GB, free: 80.16 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/9.438, allocations: 2.104 MB / 3.807 GB, free: 79.87 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006396/9.439, allocations: 369.2 kB / 3.807 GB, free: 79.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/9.439, allocations: 14.53 kB / 3.807 GB, free: 79.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006402/9.44, allocations: 69.8 kB / 3.807 GB, free: 79.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/9.44, allocations: 52.64 kB / 3.807 GB, free: 79.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-05/9.44, allocations: 27.17 kB / 3.807 GB, free: 79.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009587/9.441, allocations: 0.5564 MB / 3.808 GB, free: 79.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/9.441, allocations: 0 / 3.808 GB, free: 79.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007843/9.449, allocations: 1.419 MB / 3.809 GB, free: 79.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01321/9.462, allocations: 4.282 MB / 3.813 GB, free: 78.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003168/9.465, allocations: 1.214 MB / 3.814 GB, free: 78.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/9.465, allocations: 1.219 kB / 3.814 GB, free: 78.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/9.467, allocations: 0.6857 MB / 3.815 GB, free: 78.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/9.469, allocations: 342.8 kB / 3.815 GB, free: 78.72 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/9.475, allocations: 2.428 MB / 3.818 GB, free: 78.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006346/9.476, allocations: 1.153 MB / 3.819 GB, free: 77.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001567/9.478, allocations: 0.6877 MB / 3.82 GB, free: 77.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/9.478, allocations: 443 kB / 3.82 GB, free: 77.5 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/9.478, allocations: 0 / 3.82 GB, free: 77.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/9.581, allocations: 59.58 MB / 3.878 GB, free: 75.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/9.581, allocations: 239.6 kB / 3.878 GB, free: 75.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.049/13.63, allocations: 6.828 kB / 3.878 GB, free: 75.3 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat