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.001383/0.001383, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009047/0.0009047, allocations: 86.58 kB / 261.7 MB, free: 1.684 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.2237/0.2237, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.871e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1667, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.766/8.932, allocations: 2.781 GB / 3.247 GB, free: 91.39 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/8.933, allocations: 89.14 kB / 3.247 GB, free: 91.35 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.627/10.56, allocations: 435.2 MB / 3.672 GB, free: 45.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.304e-06/10.56, allocations: 0 / 3.672 GB, free: 45.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.034e-05/10.56, allocations: 23.28 kB / 3.672 GB, free: 45.09 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.008793/10.57, allocations: 1.748 MB / 3.674 GB, free: 43.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/10.57, allocations: 8.031 kB / 3.674 GB, free: 43.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002843/10.57, allocations: 325.3 kB / 3.674 GB, free: 43.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/10.57, allocations: 0.57 MB / 3.675 GB, free: 42.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/10.57, allocations: 24 kB / 3.675 GB, free: 42.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.388e-05/10.57, allocations: 32 kB / 3.675 GB, free: 42.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009239/10.57, allocations: 0.5583 MB / 3.675 GB, free: 42.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/10.58, allocations: 0.6615 MB / 3.676 GB, free: 41.49 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/10.58, allocations: 4 kB / 3.676 GB, free: 41.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/10.58, allocations: 0 / 3.676 GB, free: 41.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/10.58, allocations: 28.53 kB / 3.676 GB, free: 41.46 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.02011/10.6, allocations: 12.02 MB / 3.688 GB, free: 28.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009758/10.6, allocations: 479.9 kB / 3.688 GB, free: 28.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/10.6, allocations: 233.9 kB / 3.688 GB, free: 28.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5334/11.13, allocations: 55.73 MB / 3.743 GB, free: 65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/11.13, allocations: 38.38 kB / 3.743 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 3.617e-06/11.13, allocations: 1.344 kB / 3.743 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51): time 0.007755/11.14, allocations: 1.835 MB / 3.745 GB, free: 64.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/11.14, allocations: 110.9 kB / 3.745 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/11.14, allocations: 374.5 kB / 3.745 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/11.14, allocations: 26.64 kB / 3.745 GB, free: 64.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/11.14, allocations: 333.2 kB / 3.745 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/11.14, allocations: 170.4 kB / 3.746 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/11.14, allocations: 0 / 3.746 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001287/11.14, allocations: 363 kB / 3.746 GB, free: 63.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/11.14, allocations: 192.8 kB / 3.746 GB, free: 63.81 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/11.14, allocations: 359 kB / 3.746 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/11.14, allocations: 328.6 kB / 3.747 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/11.14, allocations: 2.562 kB / 3.747 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002408/11.14, allocations: 0.8367 MB / 3.748 GB, free: 63.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004116/11.14, allocations: 1.744 MB / 3.749 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/11.14, allocations: 7.922 kB / 3.749 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/11.15, allocations: 301.7 kB / 3.75 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/11.15, allocations: 138 kB / 3.75 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/11.15, allocations: 0.9424 MB / 3.751 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009349/11.15, allocations: 85.7 kB / 3.751 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/11.15, allocations: 39.95 kB / 3.751 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/11.15, allocations: 6.875 kB / 3.751 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002103/11.15, allocations: 0.6925 MB / 3.751 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/11.15, allocations: 6.562 kB / 3.751 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/11.15, allocations: 290.5 kB / 3.752 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/11.15, allocations: 139.2 kB / 3.752 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/11.15, allocations: 0.8768 MB / 3.753 GB, free: 60.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009326/11.16, allocations: 78.62 kB / 3.753 GB, free: 60.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/11.16, allocations: 34.61 kB / 3.753 GB, free: 60.64 MB / 0.5105 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.0002982/11.16, allocations: 126.8 kB / 3.753 GB, free: 60.53 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001912/11.16, allocations: 0.569 MB / 3.754 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/11.16, allocations: 59.75 kB / 3.754 GB, free: 60.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/11.16, allocations: 2.641 MB / 3.756 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-05/11.16, allocations: 40.52 kB / 3.756 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/11.16, allocations: 0 / 3.756 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/11.16, allocations: 4.5 kB / 3.756 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004736/11.17, allocations: 3.629 MB / 3.76 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/11.17, allocations: 1.5 kB / 3.76 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007448/11.17, allocations: 172.5 kB / 3.76 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/11.17, allocations: 62.23 kB / 3.76 GB, free: 59.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/11.17, allocations: 9.812 kB / 3.76 GB, free: 59.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005954/11.17, allocations: 1.202 MB / 3.761 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/11.17, allocations: 2.719 kB / 3.761 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/11.17, allocations: 2.28 MB / 3.763 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006531/11.17, allocations: 316.3 kB / 3.764 GB, free: 58.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/11.17, allocations: 3.469 kB / 3.764 GB, free: 58.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007174/11.17, allocations: 67.78 kB / 3.764 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/11.17, allocations: 59.44 kB / 3.764 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/11.17, allocations: 26.22 kB / 3.764 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005505/11.17, allocations: 394.6 kB / 3.764 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/11.17, allocations: 0 / 3.764 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009834/11.18, allocations: 1.352 MB / 3.766 GB, free: 58.13 MB / 0.5105 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: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.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 (66): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.01687/11.2, allocations: 4.545 MB / 3.77 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003049/11.2, allocations: 1.223 MB / 3.771 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/11.2, allocations: 0 / 3.771 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/11.21, allocations: 0.7484 MB / 3.772 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/11.21, allocations: 282.3 kB / 3.772 GB, free: 57.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007853/11.21, allocations: 2.404 MB / 3.775 GB, free: 56.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/11.22, allocations: 1.149 MB / 3.776 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001434/11.22, allocations: 0.6904 MB / 3.776 GB, free: 56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/11.22, allocations: 430.1 kB / 3.777 GB, free: 56 MB / 0.5105 GB Notification: Performance of SimCode: time 1.242e-06/11.22, allocations: 0 / 3.777 GB, free: 56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/11.32, allocations: 50.41 MB / 3.826 GB, free: 53.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/11.32, allocations: 204.6 kB / 3.826 GB, free: 53.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.86/15.18, allocations: 0 / 3.826 GB, free: 53.3 MB / 0.5105 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