Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",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.001578/0.001578, 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.645/1.645, allocations: 221.3 MB / 236 MB, free: 2.941 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.001206/0.001206, allocations: 83.92 kB / 287 MB, free: 204 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.25/0.25, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.776e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1616, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.7/7.861, allocations: 2.803 GB / 3.305 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/7.861, allocations: 87.94 kB / 3.305 GB, free: 66.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.565/9.427, allocations: 462.8 MB / 3.757 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.984e-06/9.427, allocations: 0 / 3.757 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.785e-05/9.427, allocations: 40.06 kB / 3.757 GB, free: 26.34 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.007696/9.434, allocations: 2.301 MB / 3.759 GB, free: 24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/9.434, allocations: 15.97 kB / 3.759 GB, free: 23.99 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003008/9.435, allocations: 182.3 kB / 3.76 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002843/9.438, allocations: 441.7 kB / 3.76 GB, free: 23.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/9.44, allocations: 0.9717 MB / 3.761 GB, free: 22.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-05/9.44, allocations: 106.6 kB / 3.761 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/9.44, allocations: 143 kB / 3.761 GB, free: 22.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/9.443, allocations: 1.627 MB / 3.763 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.375e-05/9.443, allocations: 7.938 kB / 3.763 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/9.444, allocations: 56 kB / 3.763 GB, free: 20.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.858e-05/9.444, allocations: 50.3 kB / 3.763 GB, free: 20.28 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/9.446, allocations: 1.243 MB / 3.764 GB, free: 19.03 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.0086/9.455, allocations: 7.86 MB / 3.772 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/9.457, allocations: 0.8569 MB / 3.773 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/9.457, allocations: 298.5 kB / 3.773 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4031/9.86, allocations: 24.24 MB / 3.797 GB, free: 42.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/9.86, allocations: 44.84 kB / 3.797 GB, free: 42.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 2.816e-06/9.86, allocations: 0 / 3.797 GB, free: 42.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.00576/9.866, allocations: 2.195 MB / 3.799 GB, free: 41.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/9.866, allocations: 138.5 kB / 3.799 GB, free: 41.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/9.867, allocations: 0.8535 MB / 3.8 GB, free: 41.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/9.867, allocations: 39.27 kB / 3.8 GB, free: 41.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/9.868, allocations: 0.6896 MB / 3.8 GB, free: 41.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/9.868, allocations: 253.7 kB / 3.801 GB, free: 41.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/9.868, allocations: 25.34 kB / 3.801 GB, free: 41.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001029/9.868, allocations: 345.4 kB / 3.801 GB, free: 40.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005728/9.869, allocations: 264 kB / 3.801 GB, free: 40.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/9.87, allocations: 0.7106 MB / 3.802 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/9.87, allocations: 379.1 kB / 3.802 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/9.87, allocations: 5.156 kB / 3.802 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002183/9.872, allocations: 1.158 MB / 3.804 GB, free: 40.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001316/9.874, allocations: 5.745 MB / 3.809 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/9.874, allocations: 15.12 kB / 3.809 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/9.875, allocations: 280.6 kB / 3.809 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/9.876, allocations: 278.5 kB / 3.81 GB, free: 34.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/9.877, allocations: 0.7613 MB / 3.81 GB, free: 33.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/9.879, allocations: 102.6 kB / 3.811 GB, free: 33.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/9.879, allocations: 65.72 kB / 3.811 GB, free: 33.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/9.879, allocations: 4.062 kB / 3.811 GB, free: 33.75 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002162/9.881, allocations: 1.028 MB / 3.812 GB, free: 33.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/9.881, allocations: 16.08 kB / 3.812 GB, free: 33.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009121/9.882, allocations: 200.4 kB / 3.812 GB, free: 33.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008991/9.883, allocations: 274.5 kB / 3.812 GB, free: 33.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009161/9.884, allocations: 0.7287 MB / 3.813 GB, free: 33.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/9.885, allocations: 100.2 kB / 3.813 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/9.885, allocations: 61.45 kB / 3.813 GB, free: 33.19 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (128): * Single equations (assignments): 127 * 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.0003235/9.886, allocations: 179.8 kB / 3.813 GB, free: 33.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/9.886, allocations: 119.5 kB / 3.813 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005435/9.891, allocations: 3.055 MB / 3.816 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.93e-05/9.891, allocations: 38.09 kB / 3.816 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/9.891, allocations: 4.922 kB / 3.816 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/9.891, allocations: 6.734 kB / 3.816 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007911/9.899, allocations: 4.654 MB / 3.821 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/9.899, allocations: 3.938 kB / 3.821 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008245/9.9, allocations: 145.8 kB / 3.821 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002822/9.903, allocations: 1.229 MB / 3.822 GB, free: 32.17 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.515e-05/9.903, allocations: 22.14 kB / 3.822 GB, free: 32.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/9.905, allocations: 1.482 MB / 3.824 GB, free: 31.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.621e-05/9.905, allocations: 0 / 3.824 GB, free: 31.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/9.909, allocations: 2.924 MB / 3.826 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/9.91, allocations: 430.5 kB / 3.827 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/9.911, allocations: 18.94 kB / 3.827 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/9.911, allocations: 91.73 kB / 3.827 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/9.911, allocations: 65.8 kB / 3.827 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/9.912, allocations: 29.88 kB / 3.827 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001194/9.913, allocations: 0.8369 MB / 3.828 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/9.913, allocations: 0 / 3.828 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008755/9.921, allocations: 1.664 MB / 3.83 GB, free: 30.76 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i) * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (65): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01446/9.936, allocations: 5.231 MB / 3.835 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003614/9.94, allocations: 1.596 MB / 3.836 GB, free: 29.17 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/9.94, allocations: 3.906 kB / 3.836 GB, free: 29.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009988/9.941, allocations: 0.7421 MB / 3.837 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/9.944, allocations: 460.5 kB / 3.837 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009054/9.953, allocations: 3.259 MB / 3.841 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007555/9.953, allocations: 1.398 MB / 3.842 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001765/9.955, allocations: 0.7744 MB / 3.843 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007209/9.956, allocations: 0.6774 MB / 3.843 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/9.956, allocations: 0 / 3.843 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/10.06, allocations: 70.64 MB / 3.912 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/10.06, allocations: 245.6 kB / 3.913 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.731/14.8, allocations: 3.938 kB / 3.913 GB, free: 24.07 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat