Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001057, 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.349/1.349, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009086/0.0009087, allocations: 90.03 kB / 292.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.201e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 63.24 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.711/5.816, allocations: 2.788 GB / 3.299 GB, free: 141.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/5.816, allocations: 84.48 kB / 3.3 GB, free: 141.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.572/7.389, allocations: 443.7 MB / 3.733 GB, free: 72.79 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/7.389, allocations: 0 / 3.733 GB, free: 72.79 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.262e-05/7.389, allocations: 20.05 kB / 3.733 GB, free: 72.79 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006019/7.395, allocations: 1.781 MB / 3.735 GB, free: 72.14 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/7.395, allocations: 8.141 kB / 3.735 GB, free: 72.14 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/7.395, allocations: 103.6 kB / 3.735 GB, free: 72.11 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/7.397, allocations: 328 kB / 3.735 GB, free: 72.07 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009214/7.398, allocations: 0.5656 MB / 3.736 GB, free: 71.84 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/7.398, allocations: 49.47 kB / 3.736 GB, free: 71.84 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/7.398, allocations: 58.3 kB / 3.736 GB, free: 71.84 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/7.4, allocations: 0.967 MB / 3.737 GB, free: 71.63 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/7.4, allocations: 8.984 kB / 3.737 GB, free: 71.63 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.16e-05/7.401, allocations: 27.78 kB / 3.737 GB, free: 71.63 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/7.401, allocations: 22.88 kB / 3.737 GB, free: 71.63 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/7.403, allocations: 0.8093 MB / 3.737 GB, free: 71.62 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.005178/7.408, allocations: 4.772 MB / 3.742 GB, free: 68.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/7.409, allocations: 0.7031 MB / 3.743 GB, free: 68.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/7.41, allocations: 215.4 kB / 3.743 GB, free: 68.45 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04669/7.456, allocations: 26.8 MB / 3.769 GB, free: 51.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/7.457, allocations: 39.69 kB / 3.769 GB, free: 51.05 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=45): time 2.524e-06/7.457, allocations: 0 / 3.769 GB, free: 51.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.003162/7.46, allocations: 1.015 MB / 3.77 GB, free: 50.96 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/7.46, allocations: 113.9 kB / 3.77 GB, free: 50.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006619/7.46, allocations: 453.3 kB / 3.771 GB, free: 50.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.422e-05/7.461, allocations: 35.67 kB / 3.771 GB, free: 50.68 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/7.461, allocations: 338.4 kB / 3.771 GB, free: 50.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/7.461, allocations: 154.8 kB / 3.771 GB, free: 50.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/7.461, allocations: 9.625 kB / 3.771 GB, free: 50.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/7.461, allocations: 371.5 kB / 3.772 GB, free: 50.15 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/7.461, allocations: 168.2 kB / 3.772 GB, free: 50.15 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/7.462, allocations: 342.9 kB / 3.772 GB, free: 49.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/7.462, allocations: 210.3 kB / 3.772 GB, free: 49.94 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/7.462, allocations: 3.969 kB / 3.772 GB, free: 49.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001044/7.463, allocations: 0.653 MB / 3.773 GB, free: 49.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004165/7.464, allocations: 2.099 MB / 3.775 GB, free: 47.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/7.464, allocations: 7.812 kB / 3.775 GB, free: 47.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/7.465, allocations: 260.8 kB / 3.775 GB, free: 47.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/7.465, allocations: 150.3 kB / 3.775 GB, free: 47.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008499/7.466, allocations: 0.7402 MB / 3.776 GB, free: 47.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008153/7.467, allocations: 128.6 kB / 3.776 GB, free: 47.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.86e-05/7.467, allocations: 38.09 kB / 3.776 GB, free: 47.13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/7.467, allocations: 4.844 kB / 3.776 GB, free: 47.13 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0013/7.468, allocations: 0.5969 MB / 3.777 GB, free: 47.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/7.468, allocations: 7.812 kB / 3.777 GB, free: 47.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007916/7.469, allocations: 183.8 kB / 3.777 GB, free: 47.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/7.47, allocations: 148.5 kB / 3.777 GB, free: 47.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004933/7.47, allocations: 0.7109 MB / 3.778 GB, free: 46.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/7.471, allocations: 116.1 kB / 3.778 GB, free: 46.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/7.471, allocations: 33.19 kB / 3.778 GB, free: 46.57 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001798/7.471, allocations: 138.8 kB / 3.778 GB, free: 46.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/7.471, allocations: 64.47 kB / 3.778 GB, free: 46.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/7.474, allocations: 2.804 MB / 3.781 GB, free: 46.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/7.474, allocations: 39.91 kB / 3.781 GB, free: 46.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/7.474, allocations: 0 / 3.781 GB, free: 46.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/7.474, allocations: 3.234 kB / 3.781 GB, free: 46.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/7.475, allocations: 1.383 MB / 3.782 GB, free: 45.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/7.475, allocations: 3.797 kB / 3.782 GB, free: 45.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/7.476, allocations: 103.3 kB / 3.782 GB, free: 45.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001899/7.478, allocations: 1.213 MB / 3.784 GB, free: 45.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/7.478, allocations: 13.86 kB / 3.784 GB, free: 45.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/7.479, allocations: 1.473 MB / 3.785 GB, free: 45.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/7.479, allocations: 2.812 kB / 3.785 GB, free: 45.22 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/7.481, allocations: 1.782 MB / 3.787 GB, free: 44.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/7.481, allocations: 367.7 kB / 3.787 GB, free: 44.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/7.481, allocations: 10.16 kB / 3.787 GB, free: 44.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007075/7.482, allocations: 95.12 kB / 3.787 GB, free: 44.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/7.482, allocations: 53.28 kB / 3.787 GB, free: 44.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/7.482, allocations: 21.86 kB / 3.787 GB, free: 44.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006545/7.483, allocations: 0.5458 MB / 3.788 GB, free: 44.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/7.483, allocations: 2.625 kB / 3.788 GB, free: 44.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007297/7.49, allocations: 1.447 MB / 3.789 GB, free: 44.38 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (39): * Single equations (assignments): 32 * 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.01085/7.501, allocations: 3.633 MB / 3.793 GB, free: 43.38 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002729/7.504, allocations: 1.062 MB / 3.794 GB, free: 43.35 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/7.504, allocations: 1.969 kB / 3.794 GB, free: 43.35 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009468/7.505, allocations: 0.6319 MB / 3.795 GB, free: 43.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/7.507, allocations: 354.3 kB / 3.795 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007406/7.515, allocations: 2.239 MB / 3.797 GB, free: 42.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/7.515, allocations: 1.15 MB / 3.798 GB, free: 41.99 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001202/7.516, allocations: 0.6749 MB / 3.799 GB, free: 41.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/7.517, allocations: 406.9 kB / 3.799 GB, free: 41.98 MB / 0.5417 GB Notification: Performance of SimCode: time 7.02e-07/7.517, allocations: 0 / 3.799 GB, free: 41.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09823/7.615, allocations: 58.44 MB / 3.856 GB, free: 39.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/7.615, allocations: 241.6 kB / 3.857 GB, free: 39.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.884/11.5, allocations: 0 / 3.857 GB, free: 39.07 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat