Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",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.001866/0.001866, allocations: 187 kB / 13.19 MB, free: 2.121 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.792/1.792, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.000834/0.0008339, allocations: 82.62 kB / 267 MB, free: 9.262 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.4022/0.4022, allocations: 43.46 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.479e-05/4.482e-05, allocations: 4 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.195, allocations: 58.83 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.998/8.193, allocations: 2.782 GB / 3.255 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/8.193, allocations: 84.41 kB / 3.255 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.731/9.925, allocations: 439.4 MB / 3.684 GB, free: 45.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.014e-06/9.925, allocations: 0 / 3.684 GB, free: 45.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.227e-05/9.925, allocations: 20.06 kB / 3.684 GB, free: 45.27 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006387/9.931, allocations: 1.757 MB / 3.686 GB, free: 44.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/9.931, allocations: 15.38 kB / 3.686 GB, free: 44.18 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/9.931, allocations: 100.1 kB / 3.686 GB, free: 44.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/9.934, allocations: 327 kB / 3.686 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/9.935, allocations: 0.5677 MB / 3.686 GB, free: 43.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/9.935, allocations: 51.12 kB / 3.687 GB, free: 43.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.184e-05/9.935, allocations: 58.16 kB / 3.687 GB, free: 43.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/9.937, allocations: 0.9847 MB / 3.688 GB, free: 43.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/9.937, allocations: 0 / 3.688 GB, free: 43.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/9.937, allocations: 25.75 kB / 3.688 GB, free: 43.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/9.937, allocations: 21.95 kB / 3.688 GB, free: 43.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/9.939, allocations: 0.8172 MB / 3.688 GB, free: 42.92 MB / 0.4948 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.004296/9.943, allocations: 4.539 MB / 3.693 GB, free: 39.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/9.945, allocations: 0.7316 MB / 3.694 GB, free: 38.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/9.945, allocations: 241.9 kB / 3.694 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1003/10.05, allocations: 55.75 MB / 3.748 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/10.05, allocations: 35 kB / 3.748 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.987e-06/10.05, allocations: 4 kB / 3.748 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.006674/10.05, allocations: 1.867 MB / 3.75 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/10.05, allocations: 107.2 kB / 3.75 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009374/10.05, allocations: 452.6 kB / 3.751 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/10.05, allocations: 33.7 kB / 3.751 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/10.05, allocations: 323.5 kB / 3.751 GB, free: 464 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/10.05, allocations: 180.1 kB / 3.751 GB, free: 284 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/10.05, allocations: 8 kB / 3.751 GB, free: 276 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002334/10.05, allocations: 374.8 kB / 3.751 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/10.05, allocations: 197.5 kB / 3.752 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/10.06, allocations: 360.5 kB / 3.752 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/10.06, allocations: 235.2 kB / 3.752 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/10.06, allocations: 4 kB / 3.752 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002048/10.06, allocations: 0.8033 MB / 3.753 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009452/10.06, allocations: 1.749 MB / 3.755 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/10.06, allocations: 4 kB / 3.755 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/10.06, allocations: 407.4 kB / 3.755 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/10.06, allocations: 135.8 kB / 3.755 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/10.06, allocations: 0.8567 MB / 3.756 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/10.06, allocations: 87.97 kB / 3.756 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/10.06, allocations: 43.94 kB / 3.756 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/10.06, allocations: 8.609 kB / 3.756 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002186/10.07, allocations: 0.7711 MB / 3.757 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/10.07, allocations: 7.953 kB / 3.757 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/10.07, allocations: 308.8 kB / 3.757 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/10.07, allocations: 143.8 kB / 3.757 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/10.07, allocations: 0.8459 MB / 3.758 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/10.07, allocations: 95.8 kB / 3.758 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.337e-05/10.07, allocations: 31.98 kB / 3.758 GB, free: 8.574 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (56): * Single equations (assignments): 55 * 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 18} Notification: Performance of prepare postOptimizeDAE: time 0.0002862/10.07, allocations: 146.2 kB / 3.759 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/10.07, allocations: 70.81 kB / 3.759 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/10.08, allocations: 2.846 MB / 3.761 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-05/10.08, allocations: 47.92 kB / 3.761 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/10.08, allocations: 3.953 kB / 3.761 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/10.08, allocations: 3.984 kB / 3.761 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006/10.08, allocations: 4.011 MB / 3.765 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/10.08, allocations: 0 / 3.765 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/10.08, allocations: 171.8 kB / 3.765 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003787/10.08, allocations: 76.66 kB / 3.766 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/10.08, allocations: 15.98 kB / 3.766 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4024/10.49, allocations: 1.173 MB / 3.767 GB, free: 83.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/10.49, allocations: 4.422 kB / 3.767 GB, free: 83.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/10.49, allocations: 2.38 MB / 3.769 GB, free: 83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006794/10.49, allocations: 333.9 kB / 3.769 GB, free: 82.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/10.49, allocations: 12.88 kB / 3.769 GB, free: 82.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006707/10.49, allocations: 76.83 kB / 3.769 GB, free: 82.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/10.49, allocations: 60.86 kB / 3.77 GB, free: 82.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.439e-05/10.49, allocations: 23.59 kB / 3.77 GB, free: 82.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007297/10.49, allocations: 450.4 kB / 3.77 GB, free: 82.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/10.49, allocations: 2.812 kB / 3.77 GB, free: 82.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007354/10.5, allocations: 1.407 MB / 3.771 GB, free: 82.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.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 (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01342/10.51, allocations: 4.571 MB / 3.776 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003196/10.52, allocations: 1.303 MB / 3.777 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/10.52, allocations: 0 / 3.777 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/10.52, allocations: 0.8123 MB / 3.778 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/10.52, allocations: 317.2 kB / 3.778 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007179/10.53, allocations: 2.554 MB / 3.781 GB, free: 81.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/10.53, allocations: 1.166 MB / 3.782 GB, free: 80.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001301/10.53, allocations: 0.6988 MB / 3.782 GB, free: 80.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/10.53, allocations: 449.9 kB / 3.783 GB, free: 80.79 MB / 0.5261 GB Notification: Performance of SimCode: time 1.001e-06/10.53, allocations: 0 / 3.783 GB, free: 80.79 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/10.65, allocations: 59.31 MB / 3.841 GB, free: 78.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/10.65, allocations: 245.8 kB / 3.841 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.082/14.74, allocations: 0 / 3.841 GB, free: 78.23 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat