Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002252/0.002257, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 95.11 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3139/0.3139, allocations: 43.48 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.189e-05/2.201e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4324, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.47/8.903, allocations: 2.764 GB / 3.23 GB, free: 24.57 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003905/8.903, allocations: 83.33 kB / 3.23 GB, free: 24.52 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.248/11.15, allocations: 416 MB / 3.636 GB, free: 7.691 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.713e-06/11.15, allocations: 4 kB / 3.636 GB, free: 7.688 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 5.217e-05/11.15, allocations: 20 kB / 3.636 GB, free: 7.668 MB / 0.4952 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.00737/11.16, allocations: 1.648 MB / 3.638 GB, free: 5.98 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/11.16, allocations: 8.031 kB / 3.638 GB, free: 5.973 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/11.16, allocations: 302.9 kB / 3.638 GB, free: 5.676 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/11.16, allocations: 0.5161 MB / 3.639 GB, free: 5.129 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/11.16, allocations: 24 kB / 3.639 GB, free: 5.105 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/11.16, allocations: 36.84 kB / 3.639 GB, free: 5.07 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001313/11.17, allocations: 0.5141 MB / 3.639 GB, free: 4.555 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/11.17, allocations: 0.6438 MB / 3.64 GB, free: 3.844 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/11.17, allocations: 3.938 kB / 3.64 GB, free: 3.84 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/11.17, allocations: 4 kB / 3.64 GB, free: 3.836 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/11.17, allocations: 21.31 kB / 3.64 GB, free: 3.816 MB / 0.4952 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.5162/11.68, allocations: 44.09 MB / 3.683 GB, free: 33.75 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/11.68, allocations: 394.8 kB / 3.683 GB, free: 33.72 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/11.68, allocations: 192.6 kB / 3.684 GB, free: 33.71 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07637/11.76, allocations: 24.16 MB / 3.707 GB, free: 34.53 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/11.76, allocations: 42.2 kB / 3.707 GB, free: 34.49 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=39): time 4.028e-06/11.76, allocations: 0 / 3.707 GB, free: 34.49 MB / 0.5108 GB Notification: Performance of matching and sorting (n=39): time 0.004368/11.77, allocations: 0.8297 MB / 3.708 GB, free: 34.43 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/11.77, allocations: 113.1 kB / 3.708 GB, free: 34.3 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/11.77, allocations: 362.7 kB / 3.709 GB, free: 34.2 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/11.77, allocations: 25.7 kB / 3.709 GB, free: 34.17 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/11.77, allocations: 375 kB / 3.709 GB, free: 33.94 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/11.77, allocations: 131.1 kB / 3.709 GB, free: 33.88 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/11.77, allocations: 0 / 3.709 GB, free: 33.88 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001327/11.77, allocations: 331 kB / 3.709 GB, free: 33.56 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/11.77, allocations: 155.7 kB / 3.71 GB, free: 33.56 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/11.77, allocations: 318.1 kB / 3.71 GB, free: 33.36 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/11.77, allocations: 257.6 kB / 3.71 GB, free: 33.36 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/11.77, allocations: 0 / 3.71 GB, free: 33.36 MB / 0.5108 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002686/11.77, allocations: 0.6475 MB / 3.711 GB, free: 33.29 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008128/11.77, allocations: 1.919 MB / 3.713 GB, free: 31.28 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/11.77, allocations: 3.844 kB / 3.713 GB, free: 31.28 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/11.77, allocations: 180.4 kB / 3.713 GB, free: 31.26 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008617/11.77, allocations: 124 kB / 3.713 GB, free: 31.26 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/11.78, allocations: 0.7607 MB / 3.714 GB, free: 30.74 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/11.78, allocations: 116.9 kB / 3.714 GB, free: 30.71 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/11.78, allocations: 31.3 kB / 3.714 GB, free: 30.71 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/11.78, allocations: 6.906 kB / 3.714 GB, free: 30.71 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002473/11.78, allocations: 0.5634 MB / 3.714 GB, free: 30.69 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/11.78, allocations: 3.406 kB / 3.714 GB, free: 30.69 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/11.78, allocations: 156 kB / 3.714 GB, free: 30.68 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/11.78, allocations: 117.5 kB / 3.715 GB, free: 30.68 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009308/11.78, allocations: 0.7152 MB / 3.715 GB, free: 30.16 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009814/11.78, allocations: 90.33 kB / 3.715 GB, free: 30.14 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.909e-05/11.78, allocations: 31.36 kB / 3.715 GB, free: 30.14 MB / 0.5108 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.0002842/11.78, allocations: 126.2 kB / 3.716 GB, free: 30.03 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002448/11.79, allocations: 0.5176 MB / 3.716 GB, free: 29.95 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/11.79, allocations: 48.25 kB / 3.716 GB, free: 29.93 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/11.79, allocations: 2.353 MB / 3.718 GB, free: 29.7 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.046e-05/11.79, allocations: 39.19 kB / 3.718 GB, free: 29.7 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/11.79, allocations: 0 / 3.718 GB, free: 29.7 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/11.79, allocations: 7.578 kB / 3.718 GB, free: 29.7 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/11.79, allocations: 1.104 MB / 3.719 GB, free: 29.48 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/11.79, allocations: 4 kB / 3.719 GB, free: 29.48 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/11.79, allocations: 69.81 kB / 3.72 GB, free: 29.48 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/11.8, allocations: 0.7316 MB / 3.72 GB, free: 29.46 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.908e-05/11.8, allocations: 7.188 kB / 3.72 GB, free: 29.46 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/11.8, allocations: 1.333 MB / 3.722 GB, free: 28.92 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/11.8, allocations: 3.953 kB / 3.722 GB, free: 28.91 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/11.8, allocations: 1.622 MB / 3.723 GB, free: 28.63 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/11.8, allocations: 273.7 kB / 3.723 GB, free: 28.48 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/11.8, allocations: 8.016 kB / 3.723 GB, free: 28.48 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009313/11.8, allocations: 65.41 kB / 3.723 GB, free: 28.47 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/11.8, allocations: 41.45 kB / 3.724 GB, free: 28.47 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/11.8, allocations: 20.66 kB / 3.724 GB, free: 28.47 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0005812/11.8, allocations: 343 kB / 3.724 GB, free: 28.39 MB / 0.5108 GB Notification: Performance of sort global known variables: time 4.21e-07/11.8, allocations: 0 / 3.724 GB, free: 28.39 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.006748/11.81, allocations: 1.31 MB / 3.725 GB, free: 28.36 MB / 0.5108 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.01439/11.82, allocations: 3.608 MB / 3.729 GB, free: 27.46 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.002629/11.83, allocations: 0.9803 MB / 3.73 GB, free: 27.43 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/11.83, allocations: 3.625 kB / 3.73 GB, free: 27.43 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/11.83, allocations: 0.5993 MB / 3.73 GB, free: 27.42 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/11.83, allocations: 246.3 kB / 3.73 GB, free: 27.41 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007423/11.84, allocations: 1.992 MB / 3.732 GB, free: 26.95 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006905/11.84, allocations: 1.079 MB / 3.733 GB, free: 26.23 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006227/11.84, allocations: 341.2 kB / 3.734 GB, free: 26.22 MB / 0.5108 GB Notification: Performance of SimCode: time 1.193e-06/11.84, allocations: 3.125 kB / 3.734 GB, free: 26.22 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.924/15.76, allocations: 39.51 MB / 3.772 GB, free: 22.56 MB / 0.5108 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat