Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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.002218/0.002218, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 221.5 MB / 230.7 MB, free: 7.582 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.001041/0.001041, allocations: 93.98 kB / 281.6 MB, free: 5.32 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.222/0.222, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.013e-05/2.013e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1409, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.723/8.864, allocations: 2.77 GB / 3.264 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/8.864, allocations: 87.06 kB / 3.264 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.628/10.49, allocations: 420.5 MB / 3.675 GB, free: 73.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.343e-06/10.49, allocations: 0 / 3.675 GB, free: 73.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.139e-05/10.49, allocations: 15.38 kB / 3.675 GB, free: 73.61 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00581/10.5, allocations: 1.653 MB / 3.677 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/10.5, allocations: 14.36 kB / 3.677 GB, free: 72.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/10.5, allocations: 294.1 kB / 3.677 GB, free: 72.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008455/10.5, allocations: 0.5313 MB / 3.678 GB, free: 72.56 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/10.5, allocations: 21.69 kB / 3.678 GB, free: 72.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.491e-05/10.5, allocations: 29.22 kB / 3.678 GB, free: 72.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007777/10.5, allocations: 0.5161 MB / 3.678 GB, free: 72.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000926/10.5, allocations: 0.6455 MB / 3.679 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/10.5, allocations: 4.703 kB / 3.679 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/10.5, allocations: 7.391 kB / 3.679 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/10.5, allocations: 19.12 kB / 3.679 GB, free: 72.36 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.07425/10.58, allocations: 44.11 MB / 3.722 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007785/10.58, allocations: 386 kB / 3.722 GB, free: 44.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/10.58, allocations: 202.7 kB / 3.722 GB, free: 44.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04213/10.62, allocations: 24.16 MB / 3.746 GB, free: 29.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/10.62, allocations: 47.8 kB / 3.746 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 2.325e-06/10.62, allocations: 0 / 3.746 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.00285/10.62, allocations: 0.8218 MB / 3.747 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/10.62, allocations: 109.7 kB / 3.747 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/10.62, allocations: 367.9 kB / 3.747 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/10.62, allocations: 25.7 kB / 3.747 GB, free: 28.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/10.62, allocations: 331.4 kB / 3.748 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/10.62, allocations: 131.7 kB / 3.748 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/10.62, allocations: 7.938 kB / 3.748 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/10.62, allocations: 359.1 kB / 3.748 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/10.62, allocations: 147.6 kB / 3.748 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/10.63, allocations: 322.7 kB / 3.749 GB, free: 28.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007911/10.63, allocations: 253.9 kB / 3.749 GB, free: 28.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/10.63, allocations: 2.562 kB / 3.749 GB, free: 28.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001602/10.63, allocations: 0.6731 MB / 3.749 GB, free: 28.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004825/10.63, allocations: 1.929 MB / 3.751 GB, free: 26.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/10.63, allocations: 3.156 kB / 3.751 GB, free: 26.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007054/10.63, allocations: 180 kB / 3.752 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/10.63, allocations: 118.2 kB / 3.752 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008293/10.63, allocations: 0.7633 MB / 3.752 GB, free: 25.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000751/10.63, allocations: 109.5 kB / 3.752 GB, free: 25.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/10.63, allocations: 29.89 kB / 3.753 GB, free: 25.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/10.63, allocations: 9.984 kB / 3.753 GB, free: 25.46 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00141/10.63, allocations: 0.5637 MB / 3.753 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/10.63, allocations: 7.594 kB / 3.753 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007006/10.63, allocations: 163.2 kB / 3.753 GB, free: 25.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/10.63, allocations: 123.9 kB / 3.753 GB, free: 25.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005402/10.63, allocations: 0.715 MB / 3.754 GB, free: 24.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/10.63, allocations: 98.86 kB / 3.754 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/10.63, allocations: 28.45 kB / 3.754 GB, free: 24.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001845/10.63, allocations: 124.9 kB / 3.754 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001402/10.64, allocations: 0.5125 MB / 3.755 GB, free: 24.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.49e-05/10.64, allocations: 58.09 kB / 3.755 GB, free: 24.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/10.64, allocations: 2.351 MB / 3.757 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.51e-05/10.64, allocations: 33.33 kB / 3.757 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/10.64, allocations: 0 / 3.757 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/10.64, allocations: 3.469 kB / 3.757 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/10.64, allocations: 1.11 MB / 3.758 GB, free: 24.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/10.64, allocations: 0 / 3.758 GB, free: 24.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/10.64, allocations: 72.72 kB / 3.758 GB, free: 24.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009631/10.64, allocations: 0.7365 MB / 3.759 GB, free: 24.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/10.64, allocations: 3.938 kB / 3.759 GB, free: 24.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/10.64, allocations: 1.334 MB / 3.76 GB, free: 23.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/10.64, allocations: 8.469 kB / 3.76 GB, free: 23.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/10.64, allocations: 1.617 MB / 3.762 GB, free: 23.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/10.64, allocations: 270.9 kB / 3.762 GB, free: 23.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/10.65, allocations: 2.859 kB / 3.762 GB, free: 23.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/10.65, allocations: 70.44 kB / 3.762 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/10.65, allocations: 38.89 kB / 3.762 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/10.65, allocations: 17.16 kB / 3.762 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003777/10.65, allocations: 346.7 kB / 3.763 GB, free: 23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/10.65, allocations: 3.938 kB / 3.763 GB, free: 23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006104/10.65, allocations: 1.307 MB / 3.764 GB, free: 22.79 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: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0119/10.66, allocations: 3.618 MB / 3.767 GB, free: 21.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002196/10.67, allocations: 0.993 MB / 3.768 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/10.67, allocations: 4.125 kB / 3.768 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007743/10.67, allocations: 0.6034 MB / 3.769 GB, free: 21.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/10.67, allocations: 245.2 kB / 3.769 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007456/10.68, allocations: 1.964 MB / 3.771 GB, free: 21.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/10.68, allocations: 1.088 MB / 3.772 GB, free: 20.35 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001223/10.68, allocations: 0.7436 MB / 3.773 GB, free: 19.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/10.68, allocations: 334.5 kB / 3.773 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/10.68, allocations: 0 / 3.773 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08797/10.77, allocations: 45.9 MB / 3.818 GB, free: 3.734 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/10.77, allocations: 196.7 kB / 3.818 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.574/14.34, allocations: 0 / 3.818 GB, free: 3.539 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat