Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",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.001497/0.001497, allocations: 170.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.534/1.534, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.0009669/0.0009667, allocations: 96.11 kB / 281.6 MB, free: 5.312 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.2552/0.2552, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.59e-05/2.605e-05, allocations: 4 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1678, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.778/8.946, allocations: 2.786 GB / 3.281 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/8.947, allocations: 84.56 kB / 3.281 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.699/10.65, allocations: 439.1 MB / 3.71 GB, free: 76.26 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.462e-06/10.65, allocations: 0 / 3.71 GB, free: 76.26 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.079e-05/10.65, allocations: 16.41 kB / 3.71 GB, free: 76.26 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.007702/10.65, allocations: 1.75 MB / 3.712 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/10.65, allocations: 14.08 kB / 3.712 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/10.66, allocations: 340.2 kB / 3.712 GB, free: 75.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/10.66, allocations: 0.562 MB / 3.713 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/10.66, allocations: 21.47 kB / 3.713 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/10.66, allocations: 31.25 kB / 3.713 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008692/10.66, allocations: 0.5394 MB / 3.713 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009234/10.66, allocations: 0.6635 MB / 3.714 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/10.66, allocations: 3.938 kB / 3.714 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/10.66, allocations: 6.578 kB / 3.714 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/10.66, allocations: 31.12 kB / 3.714 GB, free: 75.09 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.07471/10.73, allocations: 44.25 MB / 3.757 GB, free: 47.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006904/10.73, allocations: 347 kB / 3.758 GB, free: 47.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/10.73, allocations: 196 kB / 3.758 GB, free: 47.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04123/10.78, allocations: 24.17 MB / 3.781 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/10.78, allocations: 41.28 kB / 3.781 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 2.825e-06/10.78, allocations: 0 / 3.781 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.002925/10.78, allocations: 0.8177 MB / 3.782 GB, free: 32.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/10.78, allocations: 109.6 kB / 3.782 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/10.78, allocations: 404.4 kB / 3.783 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/10.78, allocations: 29.33 kB / 3.783 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/10.78, allocations: 351 kB / 3.783 GB, free: 31.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/10.78, allocations: 133.6 kB / 3.783 GB, free: 31.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/10.78, allocations: 0 / 3.783 GB, free: 31.67 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.668e-05/10.78, allocations: 364.6 kB / 3.783 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/10.78, allocations: 163.4 kB / 3.784 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/10.78, allocations: 337.4 kB / 3.784 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/10.78, allocations: 296.6 kB / 3.784 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/10.78, allocations: 0 / 3.784 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001756/10.78, allocations: 0.7103 MB / 3.785 GB, free: 31.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003834/10.78, allocations: 2.007 MB / 3.787 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/10.78, allocations: 5.656 kB / 3.787 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007251/10.78, allocations: 175.4 kB / 3.787 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/10.79, allocations: 136 kB / 3.787 GB, free: 28.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/10.79, allocations: 0.8253 MB / 3.788 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009332/10.79, allocations: 123.6 kB / 3.788 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.775e-05/10.79, allocations: 33.27 kB / 3.788 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/10.79, allocations: 8.156 kB / 3.788 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00163/10.79, allocations: 0.6076 MB / 3.789 GB, free: 28.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/10.79, allocations: 3.719 kB / 3.789 GB, free: 28.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000791/10.79, allocations: 164.2 kB / 3.789 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/10.79, allocations: 139 kB / 3.789 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008001/10.79, allocations: 0.7295 MB / 3.79 GB, free: 27.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007416/10.79, allocations: 100.9 kB / 3.79 GB, free: 27.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/10.79, allocations: 29.2 kB / 3.79 GB, free: 27.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (55): * Single equations (assignments): 54 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001896/10.79, allocations: 132.9 kB / 3.79 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001398/10.79, allocations: 0.5054 MB / 3.79 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/10.79, allocations: 56.44 kB / 3.791 GB, free: 27.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/10.8, allocations: 2.455 MB / 3.793 GB, free: 27.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.061e-05/10.8, allocations: 33.77 kB / 3.793 GB, free: 27.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/10.8, allocations: 3.125 kB / 3.793 GB, free: 27.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/10.8, allocations: 11.28 kB / 3.793 GB, free: 27.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/10.8, allocations: 1.129 MB / 3.794 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/10.8, allocations: 2.594 kB / 3.794 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/10.8, allocations: 68 kB / 3.794 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/10.8, allocations: 1.091 MB / 3.795 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/10.8, allocations: 9.984 kB / 3.795 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/10.8, allocations: 1.633 MB / 3.797 GB, free: 26.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/10.8, allocations: 0 / 3.797 GB, free: 26.47 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/10.81, allocations: 1.801 MB / 3.799 GB, free: 26.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/10.81, allocations: 275.1 kB / 3.799 GB, free: 25.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/10.81, allocations: 0 / 3.799 GB, free: 25.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/10.81, allocations: 69.62 kB / 3.799 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/10.81, allocations: 42.33 kB / 3.799 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/10.81, allocations: 22.5 kB / 3.799 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004279/10.81, allocations: 368.7 kB / 3.799 GB, free: 25.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/10.81, allocations: 0 / 3.799 GB, free: 25.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006115/10.81, allocations: 1.384 MB / 3.801 GB, free: 25.66 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,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0116/10.82, allocations: 3.741 MB / 3.804 GB, free: 24.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00265/10.83, allocations: 1.02 MB / 3.805 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/10.83, allocations: 1.875 kB / 3.805 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008754/10.83, allocations: 0.6149 MB / 3.806 GB, free: 24.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/10.83, allocations: 266.3 kB / 3.806 GB, free: 24.51 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006419/10.84, allocations: 2.042 MB / 3.808 GB, free: 23.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/10.84, allocations: 1.11 MB / 3.809 GB, free: 23.19 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001216/10.84, allocations: 0.7276 MB / 3.81 GB, free: 23.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/10.84, allocations: 348.5 kB / 3.81 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/10.84, allocations: 0 / 3.81 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/10.94, allocations: 47.4 MB / 3.857 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/10.94, allocations: 190.2 kB / 3.857 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.693/14.63, allocations: 3.938 kB / 3.857 GB, free: 14.16 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat