Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008399/0.0008399, allocations: 86.66 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1801/0.1801, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.304e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 63.24 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.345/5.45, allocations: 2.804 GB / 3.316 GB, free: 52.45 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/5.451, allocations: 83.95 kB / 3.316 GB, free: 52.37 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.583/7.034, allocations: 462.9 MB / 3.768 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.315e-06/7.034, allocations: 0 / 3.768 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002173/7.034, allocations: 28 kB / 3.768 GB, free: 28.21 MB / 0.5417 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.01001/7.044, allocations: 2.322 MB / 3.77 GB, free: 25.85 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/7.044, allocations: 12.03 kB / 3.77 GB, free: 25.84 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005942/7.045, allocations: 186.3 kB / 3.77 GB, free: 25.65 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/7.048, allocations: 445.3 kB / 3.771 GB, free: 25.21 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/7.05, allocations: 0.9682 MB / 3.772 GB, free: 24.22 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/7.051, allocations: 106.6 kB / 3.772 GB, free: 24.11 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003081/7.051, allocations: 127.9 kB / 3.772 GB, free: 23.99 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/7.054, allocations: 1.631 MB / 3.774 GB, free: 22.25 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.005e-05/7.054, allocations: 7.922 kB / 3.774 GB, free: 22.24 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/7.055, allocations: 63.95 kB / 3.774 GB, free: 22.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/7.055, allocations: 46.31 kB / 3.774 GB, free: 22.13 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/7.057, allocations: 1.25 MB / 3.775 GB, free: 20.88 MB / 0.5417 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.007861/7.065, allocations: 7.834 MB / 3.783 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/7.067, allocations: 0.8607 MB / 3.783 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/7.067, allocations: 304.9 kB / 3.784 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4119/7.479, allocations: 26.8 MB / 3.81 GB, free: 51.33 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/7.479, allocations: 47.92 kB / 3.81 GB, free: 51.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 3.306e-06/7.479, allocations: 0 / 3.81 GB, free: 51.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71): time 0.006734/7.486, allocations: 2.196 MB / 3.812 GB, free: 50.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/7.486, allocations: 142.2 kB / 3.812 GB, free: 50.74 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/7.488, allocations: 0.8507 MB / 3.813 GB, free: 50.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/7.488, allocations: 41.05 kB / 3.813 GB, free: 50.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000617/7.489, allocations: 0.6929 MB / 3.814 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/7.489, allocations: 254.2 kB / 3.814 GB, free: 50.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/7.489, allocations: 23.84 kB / 3.814 GB, free: 50.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001344/7.49, allocations: 348.2 kB / 3.814 GB, free: 49.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006271/7.49, allocations: 268.1 kB / 3.815 GB, free: 49.86 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008488/7.491, allocations: 0.7051 MB / 3.815 GB, free: 49.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008059/7.492, allocations: 385.5 kB / 3.816 GB, free: 49.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/7.492, allocations: 4.594 kB / 3.816 GB, free: 49.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002626/7.495, allocations: 1.155 MB / 3.817 GB, free: 49.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001668/7.496, allocations: 5.751 MB / 3.822 GB, free: 43.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.393e-05/7.496, allocations: 15.09 kB / 3.822 GB, free: 43.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/7.498, allocations: 279.6 kB / 3.823 GB, free: 43.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/7.499, allocations: 271.3 kB / 3.823 GB, free: 43.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/7.501, allocations: 0.7657 MB / 3.824 GB, free: 42.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/7.502, allocations: 100.3 kB / 3.824 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/7.502, allocations: 61.28 kB / 3.824 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/7.502, allocations: 9.172 kB / 3.824 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002547/7.505, allocations: 1.035 MB / 3.825 GB, free: 42.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-05/7.505, allocations: 19.89 kB / 3.825 GB, free: 42.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009588/7.506, allocations: 192.3 kB / 3.825 GB, free: 42.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009541/7.507, allocations: 272.2 kB / 3.825 GB, free: 42.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009142/7.508, allocations: 0.7357 MB / 3.826 GB, free: 42.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/7.509, allocations: 94.92 kB / 3.826 GB, free: 42.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/7.509, allocations: 64.86 kB / 3.826 GB, free: 42.11 MB / 0.5417 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.0003411/7.51, allocations: 187.5 kB / 3.826 GB, free: 42 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/7.51, allocations: 116.2 kB / 3.827 GB, free: 41.94 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004489/7.514, allocations: 3.042 MB / 3.829 GB, free: 41.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.454e-05/7.515, allocations: 40.25 kB / 3.83 GB, free: 41.65 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/7.515, allocations: 1.188 kB / 3.83 GB, free: 41.65 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/7.515, allocations: 5.531 kB / 3.83 GB, free: 41.65 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007043/7.522, allocations: 4.649 MB / 3.834 GB, free: 41.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/7.522, allocations: 4.547 kB / 3.834 GB, free: 41.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/7.522, allocations: 150.4 kB / 3.834 GB, free: 41.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002242/7.524, allocations: 1.233 MB / 3.835 GB, free: 41.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/7.525, allocations: 23.64 kB / 3.835 GB, free: 41.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/7.526, allocations: 1.486 MB / 3.837 GB, free: 40.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/7.526, allocations: 4.219 kB / 3.837 GB, free: 40.53 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003439/7.529, allocations: 2.917 MB / 3.84 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009777/7.53, allocations: 432.5 kB / 3.84 GB, free: 39.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/7.531, allocations: 17.97 kB / 3.84 GB, free: 39.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/7.532, allocations: 87.08 kB / 3.84 GB, free: 39.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/7.532, allocations: 70.52 kB / 3.84 GB, free: 39.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/7.532, allocations: 28.42 kB / 3.84 GB, free: 39.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00152/7.534, allocations: 0.8422 MB / 3.841 GB, free: 39.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.51e-07/7.534, allocations: 0 / 3.841 GB, free: 39.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007607/7.541, allocations: 1.668 MB / 3.843 GB, free: 39.68 MB / 0.5417 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.01441/7.556, allocations: 5.254 MB / 3.848 GB, free: 38.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003928/7.56, allocations: 1.591 MB / 3.849 GB, free: 38.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/7.56, allocations: 0 / 3.849 GB, free: 38.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/7.561, allocations: 0.7449 MB / 3.85 GB, free: 38.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/7.564, allocations: 461.3 kB / 3.851 GB, free: 38.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/7.574, allocations: 3.26 MB / 3.854 GB, free: 37.29 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009852/7.575, allocations: 1.389 MB / 3.855 GB, free: 36.57 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002001/7.577, allocations: 0.7734 MB / 3.856 GB, free: 36.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007684/7.578, allocations: 0.6824 MB / 3.857 GB, free: 36.55 MB / 0.5417 GB Notification: Performance of SimCode: time 1.643e-06/7.578, allocations: 0 / 3.857 GB, free: 36.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1151/7.693, allocations: 70.72 MB / 3.926 GB, free: 33.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/7.694, allocations: 250.6 kB / 3.926 GB, free: 33.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.165/11.86, allocations: 0 / 3.926 GB, free: 33.16 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat