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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009354/0.0009353, allocations: 95.77 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009586/0.0009587, allocations: 206.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2041/0.2041, allocations: 45.91 MB / 344 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002726, allocations: 11.98 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1208, allocations: 63.47 MB / 481.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed): time 0.03333/0.1542, allocations: 35.51 MB / 0.5049 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2612/0.4155, allocations: 17.38 MB / 0.5219 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.4169, allocations: 24.44 kB / 0.5219 GB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.4185, allocations: 430.5 kB / 0.5223 GB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01745/0.4359, allocations: 4.103 MB / 0.5263 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01276/0.4487, allocations: 2.948 MB / 0.5292 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002194/0.4509, allocations: 1.01 MB / 0.5302 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006336/0.4516, allocations: 382.1 kB / 0.5306 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.4531, allocations: 0.6498 MB / 0.5312 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009659/0.4627, allocations: 5.849 MB / 0.5369 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.463, allocations: 30.91 kB / 0.5369 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01401/0.477, allocations: 7.573 MB / 0.5443 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.4773, allocations: 154 kB / 0.5445 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.4777, allocations: 177.3 kB / 0.5447 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007584/0.4853, allocations: 3.565 MB / 0.5481 GB, free: 4.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4853, allocations: 4 kB / 0.5481 GB, free: 4.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.848e-06/0.4853, allocations: 0 / 0.5481 GB, free: 4.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.4853, allocations: 4 kB / 0.5482 GB, free: 4.078 MB / 382.1 MB 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.004572/0.4899, allocations: 1.57 MB / 0.5497 GB, free: 2.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.49, allocations: 8.031 kB / 0.5497 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.4901, allocations: 94.52 kB / 0.5498 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.4922, allocations: 319.5 kB / 0.5501 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007074/0.4929, allocations: 0.5166 MB / 0.5506 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.4929, allocations: 57.25 kB / 0.5506 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/0.493, allocations: 56 kB / 0.5507 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.4951, allocations: 1.009 MB / 0.5517 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.4951, allocations: 0 / 0.5517 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.94e-05/0.4952, allocations: 27.98 kB / 0.5517 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.4953, allocations: 25 kB / 0.5517 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.4977, allocations: 0.9443 MB / 0.5527 GB, free: 15.35 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005664/0.5034, allocations: 4.734 MB / 0.5573 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/0.5062, allocations: 0.8747 MB / 0.5581 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05024/0.5565, allocations: 27.07 MB / 0.5846 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.5566, allocations: 38.89 kB / 0.5846 GB, free: 10.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 2.445e-06/0.5566, allocations: 4 kB / 0.5846 GB, free: 10.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.006718/0.5633, allocations: 1.832 MB / 0.5864 GB, free: 9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.5634, allocations: 110.8 kB / 0.5865 GB, free: 8.867 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006554/0.564, allocations: 0.5107 MB / 0.587 GB, free: 8.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.5641, allocations: 37.7 kB / 0.587 GB, free: 8.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.5644, allocations: 333.5 kB / 0.5874 GB, free: 7.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.5645, allocations: 148.4 kB / 0.5875 GB, free: 7.836 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.5646, allocations: 8 kB / 0.5875 GB, free: 7.828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5647, allocations: 370.8 kB / 0.5879 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006883/0.5654, allocations: 276.9 kB / 0.5881 GB, free: 7.188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007741/0.5662, allocations: 455.7 kB / 0.5886 GB, free: 6.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000701/0.5669, allocations: 307.6 kB / 0.5888 GB, free: 6.359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5669, allocations: 3.938 kB / 0.5889 GB, free: 6.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001949/0.5689, allocations: 0.899 MB / 0.5897 GB, free: 5.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008512/0.5698, allocations: 2.092 MB / 0.5918 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5698, allocations: 8 kB / 0.5918 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/0.5717, allocations: 358.3 kB / 0.5921 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.5722, allocations: 147.8 kB / 0.5923 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.5735, allocations: 0.8342 MB / 0.5931 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007847/0.5743, allocations: 123.2 kB / 0.5932 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/0.5743, allocations: 35.98 kB / 0.5932 GB, free: 1.676 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.5743, allocations: 7.953 kB / 0.5932 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002093/0.5764, allocations: 0.8279 MB / 0.594 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5765, allocations: 7.984 kB / 0.5941 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009353/0.5774, allocations: 220.9 kB / 0.5943 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.5779, allocations: 147.8 kB / 0.5944 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009467/0.5789, allocations: 0.7942 MB / 0.5952 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/0.5795, allocations: 111.4 kB / 0.5953 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.5796, allocations: 32 kB / 0.5953 GB, free: 15.5 MB / 446.1 MB 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 () * Number of clocked 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.0003734/0.58, allocations: 299 kB / 0.5956 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.5801, allocations: 63.25 kB / 0.5957 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/0.5841, allocations: 2.949 MB / 0.5985 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.417e-05/0.5842, allocations: 43.89 kB / 0.5986 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.5842, allocations: 0 / 0.5986 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.5843, allocations: 3.984 kB / 0.5986 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.586, allocations: 1.405 MB / 0.6 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.586, allocations: 0 / 0.6 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.5864, allocations: 103.9 kB / 0.6001 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002105/0.5885, allocations: 1.071 MB / 0.6011 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.5886, allocations: 19.94 kB / 0.6011 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.5902, allocations: 1.486 MB / 0.6026 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5902, allocations: 0 / 0.6026 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.593, allocations: 1.948 MB / 0.6045 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.5935, allocations: 370.6 kB / 0.6048 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.5936, allocations: 8 kB / 0.6048 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005599/0.5942, allocations: 83.84 kB / 0.6049 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.5943, allocations: 52.47 kB / 0.605 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.5943, allocations: 24 kB / 0.605 GB, free: 5.488 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006786/0.595, allocations: 0.5653 MB / 0.6055 GB, free: 4.922 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.595, allocations: 0 / 0.6055 GB, free: 4.922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003738/0.5988, allocations: 1.378 MB / 0.6069 GB, free: 3.543 MB / 446.1 MB 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 () * Number of clocked 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.00747/0.6063, allocations: 3.53 MB / 0.6103 GB, free: 104 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003025/0.6093, allocations: 1.359 MB / 0.6117 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6093, allocations: 0 / 0.6117 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.6105, allocations: 0.7258 MB / 0.6124 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.6122, allocations: 350.5 kB / 0.6127 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/0.6192, allocations: 7.232 MB / 0.6198 GB, free: 6.301 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.6199, allocations: 1.15 MB / 0.6209 GB, free: 5.125 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001122/0.621, allocations: 0.7123 MB / 0.6216 GB, free: 4.418 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/0.6215, allocations: 411.3 kB / 0.622 GB, free: 4.016 MB / 462.1 MB Notification: Performance of SimCode: time 1.183e-06/0.6215, allocations: 0 / 0.622 GB, free: 4.016 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08985/0.7114, allocations: 59.94 MB / 0.6805 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.7116, allocations: 273.7 kB / 0.6808 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.144/5.856, allocations: 0 / 0.6808 GB, free: 7.992 MB / 0.5137 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