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.001635/0.001635, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009184/0.0009187, allocations: 97.94 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2145/0.2145, allocations: 45.15 MB / 383.8 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.484e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1282, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.812/7.94, allocations: 2.787 GB / 3.292 GB, free: 55.31 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004057/7.941, allocations: 83.45 kB / 3.292 GB, free: 55.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.028/9.969, allocations: 439.4 MB / 3.721 GB, free: 31.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.794e-06/9.969, allocations: 0 / 3.721 GB, free: 31.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.055e-05/9.97, allocations: 16 kB / 3.721 GB, free: 31.64 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.007903/9.977, allocations: 1.777 MB / 3.723 GB, free: 29.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/9.978, allocations: 12.03 kB / 3.723 GB, free: 29.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/9.98, allocations: 326.8 kB / 3.723 GB, free: 29.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/9.982, allocations: 0.565 MB / 3.724 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/9.982, allocations: 24 kB / 3.724 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/9.982, allocations: 32 kB / 3.724 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001081/9.983, allocations: 0.5499 MB / 3.724 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/9.984, allocations: 0.6627 MB / 3.725 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/9.984, allocations: 4 kB / 3.725 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/9.984, allocations: 4 kB / 3.725 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/9.985, allocations: 25.25 kB / 3.725 GB, free: 27.53 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.6813/10.67, allocations: 92.61 MB / 3.815 GB, free: 42.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/10.67, allocations: 356.3 kB / 3.816 GB, free: 42.89 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/10.67, allocations: 169.6 kB / 3.816 GB, free: 42.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03375/10.7, allocations: 18.49 MB / 3.834 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.084e-05/10.7, allocations: 39.62 kB / 3.834 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=37): time 2.876e-06/10.7, allocations: 0 / 3.834 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=37): time 0.003055/10.7, allocations: 0.7839 MB / 3.835 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/10.7, allocations: 109.8 kB / 3.835 GB, free: 29.99 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006114/10.7, allocations: 424.6 kB / 3.835 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/10.7, allocations: 33.61 kB / 3.835 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/10.7, allocations: 365.4 kB / 3.836 GB, free: 29.68 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/10.7, allocations: 128.8 kB / 3.836 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/10.71, allocations: 0 / 3.836 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000113/10.71, allocations: 362.2 kB / 3.836 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/10.71, allocations: 156.4 kB / 3.836 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/10.71, allocations: 338.1 kB / 3.837 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/10.71, allocations: 290.5 kB / 3.837 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/10.71, allocations: 0 / 3.837 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001726/10.71, allocations: 0.7123 MB / 3.838 GB, free: 29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005614/10.71, allocations: 2.102 MB / 3.84 GB, free: 26.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/10.71, allocations: 3.344 kB / 3.84 GB, free: 26.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00074/10.71, allocations: 179.1 kB / 3.84 GB, free: 26.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/10.71, allocations: 144.8 kB / 3.84 GB, free: 26.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000976/10.71, allocations: 0.8177 MB / 3.841 GB, free: 26.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009298/10.71, allocations: 143.1 kB / 3.841 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/10.71, allocations: 32.42 kB / 3.841 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/10.71, allocations: 5.594 kB / 3.841 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001911/10.71, allocations: 0.6075 MB / 3.841 GB, free: 26.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/10.71, allocations: 3.719 kB / 3.841 GB, free: 26.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007884/10.72, allocations: 169.9 kB / 3.842 GB, free: 26.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/10.72, allocations: 146.5 kB / 3.842 GB, free: 26.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006525/10.72, allocations: 0.7308 MB / 3.842 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008017/10.72, allocations: 101.2 kB / 3.843 GB, free: 25.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/10.72, allocations: 32.48 kB / 3.843 GB, free: 25.67 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 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.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.0002412/10.72, allocations: 129 kB / 3.843 GB, free: 25.56 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001275/10.72, allocations: 0.4924 MB / 3.843 GB, free: 25.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/10.72, allocations: 58.08 kB / 3.843 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/10.72, allocations: 1.779 MB / 3.845 GB, free: 25.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/10.72, allocations: 23.08 kB / 3.845 GB, free: 25.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/10.72, allocations: 0 / 3.845 GB, free: 25.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/10.72, allocations: 0 / 3.845 GB, free: 25.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/10.72, allocations: 0.9038 MB / 3.846 GB, free: 25.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/10.72, allocations: 0 / 3.846 GB, free: 25.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/10.72, allocations: 63.8 kB / 3.846 GB, free: 25.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/10.73, allocations: 1.129 MB / 3.847 GB, free: 25.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/10.73, allocations: 9.344 kB / 3.847 GB, free: 25.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/10.73, allocations: 1.632 MB / 3.849 GB, free: 24.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/10.73, allocations: 3.953 kB / 3.849 GB, free: 24.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/10.73, allocations: 1.428 MB / 3.85 GB, free: 24.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003959/10.73, allocations: 268.5 kB / 3.85 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/10.73, allocations: 0 / 3.85 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/10.73, allocations: 78.14 kB / 3.85 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/10.73, allocations: 35.44 kB / 3.85 GB, free: 24.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/10.73, allocations: 23.52 kB / 3.85 GB, free: 24.08 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005519/10.73, allocations: 462.2 kB / 3.851 GB, free: 23.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.51e-07/10.73, allocations: 3.016 kB / 3.851 GB, free: 23.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007303/10.74, allocations: 1.401 MB / 3.852 GB, free: 23.96 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: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01306/10.75, allocations: 3.385 MB / 3.856 GB, free: 23.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002274/10.75, allocations: 0.8634 MB / 3.856 GB, free: 23.07 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/10.75, allocations: 3.625 kB / 3.856 GB, free: 23.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005873/10.75, allocations: 411.3 kB / 3.857 GB, free: 23.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/10.76, allocations: 255 kB / 3.857 GB, free: 23.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/10.76, allocations: 1.707 MB / 3.859 GB, free: 22.63 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/10.76, allocations: 1.039 MB / 3.86 GB, free: 21.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001408/10.76, allocations: 0.8001 MB / 3.861 GB, free: 21.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/10.76, allocations: 312.2 kB / 3.861 GB, free: 21.87 MB / 0.5417 GB Notification: Performance of SimCode: time 1.843e-06/10.76, allocations: 0 / 3.861 GB, free: 21.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/10.87, allocations: 45.91 MB / 3.906 GB, free: 19.26 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/10.87, allocations: 193.5 kB / 3.906 GB, free: 19.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.993/14.86, allocations: 4 kB / 3.906 GB, free: 19.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