Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_3_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.001927/0.001927, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009771/0.0009768, allocations: 88.45 kB / 267 MB, free: 9.273 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.5052/0.5052, allocations: 43.46 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.822e-05/4.825e-05, allocations: 11.98 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1807, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.053/7.234, allocations: 2.797 GB / 3.27 GB, free: 101 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/7.234, allocations: 87.53 kB / 3.27 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.495/8.729, allocations: 458.1 MB / 3.718 GB, free: 41.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/8.729, allocations: 4.125 kB / 3.718 GB, free: 41.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.257e-05/8.729, allocations: 36.66 kB / 3.718 GB, free: 41.38 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.007428/8.737, allocations: 2.292 MB / 3.72 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/8.737, allocations: 11.91 kB / 3.72 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003101/8.737, allocations: 186.9 kB / 3.72 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/8.74, allocations: 448.9 kB / 3.721 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/8.742, allocations: 0.9717 MB / 3.722 GB, free: 39.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/8.742, allocations: 99.98 kB / 3.722 GB, free: 39.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/8.742, allocations: 133.6 kB / 3.722 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/8.745, allocations: 1.634 MB / 3.723 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/8.745, allocations: 6.969 kB / 3.723 GB, free: 38.31 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/8.745, allocations: 66.19 kB / 3.723 GB, free: 38.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/8.745, allocations: 51.36 kB / 3.724 GB, free: 38.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/8.748, allocations: 1.247 MB / 3.725 GB, free: 37.84 MB / 0.5105 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.007898/8.755, allocations: 7.848 MB / 3.732 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/8.757, allocations: 0.8623 MB / 3.733 GB, free: 31.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/8.758, allocations: 307.9 kB / 3.734 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04221/8.8, allocations: 24.24 MB / 3.757 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/8.8, allocations: 39.12 kB / 3.757 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 2.554e-06/8.8, allocations: 0 / 3.757 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71): time 0.005938/8.806, allocations: 2.2 MB / 3.759 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/8.806, allocations: 137.3 kB / 3.76 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/8.807, allocations: 0.8506 MB / 3.76 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.302e-05/8.808, allocations: 37.7 kB / 3.76 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/8.808, allocations: 0.6992 MB / 3.761 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/8.808, allocations: 257.9 kB / 3.761 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/8.808, allocations: 24 kB / 3.761 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/8.808, allocations: 345.9 kB / 3.762 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/8.809, allocations: 262.5 kB / 3.762 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/8.809, allocations: 0.7141 MB / 3.763 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/8.81, allocations: 381.8 kB / 3.763 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/8.81, allocations: 4 kB / 3.763 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001763/8.812, allocations: 1.152 MB / 3.764 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.339/9.151, allocations: 5.746 MB / 3.77 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.073e-05/9.151, allocations: 17.42 kB / 3.77 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/9.153, allocations: 274.3 kB / 3.77 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/9.154, allocations: 267.5 kB / 3.77 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/9.155, allocations: 0.767 MB / 3.771 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/9.157, allocations: 99.94 kB / 3.771 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/9.157, allocations: 66.23 kB / 3.771 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/9.157, allocations: 5.938 kB / 3.771 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002533/9.159, allocations: 1.035 MB / 3.772 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/9.159, allocations: 15.56 kB / 3.772 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/9.16, allocations: 187 kB / 3.772 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009984/9.161, allocations: 274.8 kB / 3.773 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009201/9.162, allocations: 0.7352 MB / 3.773 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/9.164, allocations: 103.4 kB / 3.773 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/9.164, allocations: 61.05 kB / 3.774 GB, free: 44.18 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 () * 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.0003555/9.164, allocations: 181.7 kB / 3.774 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/9.164, allocations: 123.9 kB / 3.774 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/9.169, allocations: 3.045 MB / 3.777 GB, free: 43.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-05/9.169, allocations: 36.94 kB / 3.777 GB, free: 43.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/9.169, allocations: 5.469 kB / 3.777 GB, free: 43.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/9.169, allocations: 3.938 kB / 3.777 GB, free: 43.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005896/9.175, allocations: 4.648 MB / 3.781 GB, free: 43.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/9.175, allocations: 6.641 kB / 3.781 GB, free: 43.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/9.176, allocations: 152.6 kB / 3.782 GB, free: 43.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002315/9.178, allocations: 1.228 MB / 3.783 GB, free: 43.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/9.178, allocations: 20.11 kB / 3.783 GB, free: 43.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/9.179, allocations: 1.491 MB / 3.784 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/9.179, allocations: 5.734 kB / 3.784 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/9.183, allocations: 2.913 MB / 3.787 GB, free: 42.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/9.184, allocations: 432.8 kB / 3.787 GB, free: 42.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000429/9.185, allocations: 18.34 kB / 3.787 GB, free: 42.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/9.186, allocations: 83.44 kB / 3.788 GB, free: 42.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/9.186, allocations: 68.09 kB / 3.788 GB, free: 42.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.949e-05/9.186, allocations: 23.66 kB / 3.788 GB, free: 42.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001788/9.188, allocations: 0.8455 MB / 3.788 GB, free: 41.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.72e-07/9.188, allocations: 0 / 3.788 GB, free: 41.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008276/9.196, allocations: 1.664 MB / 3.79 GB, free: 41.96 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 () * 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.01346/9.21, allocations: 5.234 MB / 3.795 GB, free: 40.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004232/9.214, allocations: 1.591 MB / 3.797 GB, free: 40.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/9.214, allocations: 2.219 kB / 3.797 GB, free: 40.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/9.215, allocations: 0.75 MB / 3.797 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/9.218, allocations: 453.3 kB / 3.798 GB, free: 40.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/9.228, allocations: 3.252 MB / 3.801 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/9.23, allocations: 1.398 MB / 3.802 GB, free: 38.97 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002239/9.232, allocations: 0.7705 MB / 3.803 GB, free: 38.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008819/9.233, allocations: 0.6784 MB / 3.804 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/9.233, allocations: 0 / 3.804 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1338/9.366, allocations: 70.55 MB / 3.873 GB, free: 35.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/9.367, allocations: 245.1 kB / 3.873 GB, free: 35.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.428/13.8, allocations: 0 / 3.873 GB, free: 35.44 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat