Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",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.002206/0.00221, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 87.56 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.506/0.506, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004894, allocations: 19.94 kB / 431.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1381, allocations: 58.84 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.03/9.168, allocations: 2.797 GB / 3.276 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/9.169, allocations: 92.77 kB / 3.276 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.693/11.86, allocations: 459.4 MB / 3.725 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.276e-06/11.86, allocations: 2.906 kB / 3.725 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001507/11.86, allocations: 33.33 kB / 3.725 GB, free: 59.04 MB / 0.5105 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.01152/11.87, allocations: 2.461 MB / 3.727 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/11.87, allocations: 9.375 kB / 3.727 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008038/11.87, allocations: 197.7 kB / 3.728 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004813/11.88, allocations: 450.5 kB / 3.728 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/11.88, allocations: 0.9727 MB / 3.729 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/11.88, allocations: 97.67 kB / 3.729 GB, free: 57.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/11.88, allocations: 139.9 kB / 3.729 GB, free: 57.35 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006854/11.89, allocations: 1.665 MB / 3.731 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.733e-05/11.89, allocations: 4.906 kB / 3.731 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/11.89, allocations: 57.22 kB / 3.731 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.907e-05/11.89, allocations: 49.91 kB / 3.731 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007222/11.9, allocations: 1.353 MB / 3.732 GB, free: 57.03 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01785/11.92, allocations: 7.853 MB / 3.74 GB, free: 52.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004516/11.92, allocations: 0.9408 MB / 3.741 GB, free: 52.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07819/12, allocations: 24.15 MB / 3.764 GB, free: 37.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/12, allocations: 38.31 kB / 3.764 GB, free: 37.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 4.368e-06/12, allocations: 0 / 3.764 GB, free: 37.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71): time 0.01535/12.01, allocations: 3.038 MB / 3.767 GB, free: 37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/12.01, allocations: 140.8 kB / 3.768 GB, free: 36.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/12.02, allocations: 0.8589 MB / 3.768 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001725/12.02, allocations: 41.55 kB / 3.768 GB, free: 36.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005105/12.02, allocations: 0.6928 MB / 3.769 GB, free: 36.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/12.02, allocations: 255.3 kB / 3.769 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/12.02, allocations: 22.84 kB / 3.769 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001046/12.02, allocations: 352.6 kB / 3.77 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/12.02, allocations: 337.6 kB / 3.77 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/12.02, allocations: 0.7843 MB / 3.771 GB, free: 35.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/12.02, allocations: 449.8 kB / 3.771 GB, free: 35.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/12.02, allocations: 3.875 kB / 3.771 GB, free: 35.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00396/12.03, allocations: 1.245 MB / 3.772 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001289/12.03, allocations: 5.743 MB / 3.778 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-05/12.03, allocations: 15.78 kB / 3.778 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002691/12.03, allocations: 314.6 kB / 3.778 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/12.03, allocations: 267.6 kB / 3.779 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/12.03, allocations: 0.8184 MB / 3.779 GB, free: 28.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/12.04, allocations: 95.47 kB / 3.78 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/12.04, allocations: 63.66 kB / 3.78 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/12.04, allocations: 3.781 kB / 3.78 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004585/12.04, allocations: 1.189 MB / 3.781 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-05/12.04, allocations: 14.94 kB / 3.781 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/12.04, allocations: 207.4 kB / 3.781 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/12.04, allocations: 271.6 kB / 3.781 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/12.05, allocations: 0.7879 MB / 3.782 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/12.05, allocations: 96.09 kB / 3.782 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/12.05, allocations: 57.47 kB / 3.782 GB, free: 28.04 MB / 0.5105 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 () * Number of clocked 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.001219/12.05, allocations: 403.6 kB / 3.783 GB, free: 27.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004264/12.05, allocations: 121.1 kB / 3.783 GB, free: 27.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007073/12.06, allocations: 3.113 MB / 3.786 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.197e-05/12.06, allocations: 43.69 kB / 3.786 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/12.06, allocations: 0 / 3.786 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.468e-05/12.06, allocations: 5.062 kB / 3.786 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009101/12.07, allocations: 4.65 MB / 3.79 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/12.07, allocations: 3.719 kB / 3.79 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/12.07, allocations: 151 kB / 3.79 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0033/12.07, allocations: 1.078 MB / 3.791 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/12.07, allocations: 20.52 kB / 3.791 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/12.07, allocations: 1.446 MB / 3.793 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/12.07, allocations: 8.641 kB / 3.793 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006247/12.08, allocations: 2.993 MB / 3.796 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/12.08, allocations: 427.2 kB / 3.796 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/12.08, allocations: 20.39 kB / 3.796 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/12.08, allocations: 94.25 kB / 3.796 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/12.08, allocations: 67.53 kB / 3.796 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.943e-05/12.08, allocations: 30.61 kB / 3.796 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001716/12.08, allocations: 0.8528 MB / 3.797 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/12.08, allocations: 0 / 3.797 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008474/12.09, allocations: 1.665 MB / 3.799 GB, free: 25.22 MB / 0.5105 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 () * Number of clocked 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.01854/12.11, allocations: 5.458 MB / 3.804 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006541/12.12, allocations: 1.765 MB / 3.806 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/12.12, allocations: 0 / 3.806 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/12.12, allocations: 0.8169 MB / 3.807 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/12.12, allocations: 450.1 kB / 3.807 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/12.14, allocations: 15.88 MB / 3.823 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/12.14, allocations: 1.383 MB / 3.824 GB, free: 24.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/12.14, allocations: 0.6997 MB / 3.825 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.313e-06/12.14, allocations: 0 / 3.825 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.103/16.25, allocations: 54.81 MB / 3.878 GB, free: 7.473 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat