Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00158/0.00158, allocations: 198 kB / 14.17 MB, free: 1.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009491/0.0009492, allocations: 91.59 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1879/0.1879, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.23e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 63.24 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.829/5.939, allocations: 2.788 GB / 3.3 GB, free: 86.14 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/5.94, allocations: 83.95 kB / 3.3 GB, free: 86.05 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.424/7.363, allocations: 444.2 MB / 3.734 GB, free: 44.83 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.603e-06/7.364, allocations: 0 / 3.734 GB, free: 44.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.38e-05/7.364, allocations: 16 kB / 3.734 GB, free: 44.81 MB / 0.5261 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.006431/7.37, allocations: 1.767 MB / 3.735 GB, free: 43.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/7.37, allocations: 8.031 kB / 3.735 GB, free: 43.16 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001989/7.37, allocations: 97.91 kB / 3.735 GB, free: 43.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/7.373, allocations: 328.5 kB / 3.736 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/7.374, allocations: 0.5678 MB / 3.736 GB, free: 42.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/7.374, allocations: 57.05 kB / 3.736 GB, free: 42.26 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/7.374, allocations: 60.69 kB / 3.736 GB, free: 42.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/7.376, allocations: 0.9795 MB / 3.737 GB, free: 41.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/7.376, allocations: 4 kB / 3.737 GB, free: 41.33 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/7.376, allocations: 20 kB / 3.737 GB, free: 41.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/7.376, allocations: 21 kB / 3.737 GB, free: 41.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/7.378, allocations: 0.8161 MB / 3.738 GB, free: 40.61 MB / 0.5261 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.003975/7.382, allocations: 4.539 MB / 3.743 GB, free: 35.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/7.383, allocations: 0.7356 MB / 3.743 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/7.384, allocations: 238 kB / 3.744 GB, free: 34.97 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4029/7.787, allocations: 62 MB / 3.804 GB, free: 65.51 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/7.787, allocations: 39.56 kB / 3.804 GB, free: 65.47 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.936e-06/7.787, allocations: 0 / 3.804 GB, free: 65.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.004966/7.792, allocations: 1.866 MB / 3.806 GB, free: 65.15 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/7.792, allocations: 110.5 kB / 3.806 GB, free: 65.02 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/7.792, allocations: 443.3 kB / 3.806 GB, free: 64.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.328e-05/7.792, allocations: 34.52 kB / 3.806 GB, free: 64.87 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/7.793, allocations: 327.8 kB / 3.807 GB, free: 64.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/7.793, allocations: 176.9 kB / 3.807 GB, free: 64.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/7.793, allocations: 15.03 kB / 3.807 GB, free: 64.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001479/7.793, allocations: 369.2 kB / 3.807 GB, free: 64.33 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/7.793, allocations: 195.9 kB / 3.808 GB, free: 64.33 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/7.794, allocations: 365.9 kB / 3.808 GB, free: 64.15 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/7.794, allocations: 241.7 kB / 3.808 GB, free: 64.14 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/7.794, allocations: 10.12 kB / 3.808 GB, free: 64.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001494/7.796, allocations: 0.8046 MB / 3.809 GB, free: 64.06 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003217/7.796, allocations: 1.741 MB / 3.811 GB, free: 62.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/7.796, allocations: 4.469 kB / 3.811 GB, free: 62.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001796/7.798, allocations: 392.6 kB / 3.811 GB, free: 62.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/7.798, allocations: 138.1 kB / 3.811 GB, free: 62.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/7.8, allocations: 0.8599 MB / 3.812 GB, free: 61.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006961/7.8, allocations: 103.5 kB / 3.812 GB, free: 61.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/7.8, allocations: 37.53 kB / 3.812 GB, free: 61.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/7.8, allocations: 5.312 kB / 3.812 GB, free: 61.71 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001944/7.802, allocations: 0.7728 MB / 3.813 GB, free: 61.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/7.802, allocations: 4.406 kB / 3.813 GB, free: 61.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/7.804, allocations: 310.2 kB / 3.813 GB, free: 61.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/7.804, allocations: 138.3 kB / 3.813 GB, free: 61.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000949/7.805, allocations: 0.8472 MB / 3.814 GB, free: 61.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/7.806, allocations: 95.91 kB / 3.814 GB, free: 61.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/7.806, allocations: 34.31 kB / 3.814 GB, free: 61.14 MB / 0.5417 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.0001708/7.806, allocations: 137.2 kB / 3.814 GB, free: 61.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/7.806, allocations: 68.89 kB / 3.814 GB, free: 61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/7.809, allocations: 2.857 MB / 3.817 GB, free: 60.72 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-05/7.809, allocations: 41.64 kB / 3.817 GB, free: 60.72 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/7.809, allocations: 4.031 kB / 3.817 GB, free: 60.72 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/7.809, allocations: 6.984 kB / 3.817 GB, free: 60.72 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004652/7.814, allocations: 4.012 MB / 3.821 GB, free: 60.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/7.814, allocations: 0 / 3.821 GB, free: 60.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/7.815, allocations: 175.5 kB / 3.821 GB, free: 60.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/7.815, allocations: 71.78 kB / 3.821 GB, free: 60.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/7.815, allocations: 15.92 kB / 3.821 GB, free: 60.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004765/7.816, allocations: 1.18 MB / 3.823 GB, free: 59.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/7.816, allocations: 0.5156 kB / 3.823 GB, free: 59.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/7.819, allocations: 2.385 MB / 3.825 GB, free: 58.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/7.819, allocations: 336.7 kB / 3.825 GB, free: 58.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.079e-05/7.819, allocations: 10.5 kB / 3.825 GB, free: 58.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/7.82, allocations: 76.12 kB / 3.825 GB, free: 58.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/7.82, allocations: 55.5 kB / 3.825 GB, free: 58.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/7.82, allocations: 30.3 kB / 3.825 GB, free: 58.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005103/7.82, allocations: 448 kB / 3.826 GB, free: 58.65 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/7.82, allocations: 1.531 kB / 3.826 GB, free: 58.65 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005469/7.826, allocations: 1.421 MB / 3.827 GB, free: 58.65 MB / 0.5417 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.01153/7.837, allocations: 4.581 MB / 3.832 GB, free: 57.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002619/7.84, allocations: 1.309 MB / 3.833 GB, free: 57.72 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/7.84, allocations: 0 / 3.833 GB, free: 57.72 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/7.841, allocations: 0.8158 MB / 3.834 GB, free: 57.72 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/7.843, allocations: 326.3 kB / 3.834 GB, free: 57.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005627/7.849, allocations: 2.561 MB / 3.837 GB, free: 57.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/7.849, allocations: 1.167 MB / 3.838 GB, free: 56.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001116/7.85, allocations: 0.6844 MB / 3.838 GB, free: 56.49 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/7.851, allocations: 448.5 kB / 3.839 GB, free: 56.48 MB / 0.5417 GB Notification: Performance of SimCode: time 6.62e-07/7.851, allocations: 6.938 kB / 3.839 GB, free: 56.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09034/7.941, allocations: 59.47 MB / 3.897 GB, free: 54.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/7.941, allocations: 244.5 kB / 3.897 GB, free: 53.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.678/11.62, allocations: 2.5 kB / 3.897 GB, free: 53.79 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat