Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002212/0.002212, allocations: 198.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.435/1.435, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009676/0.0009675, allocations: 100.8 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.999e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1215, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.17/8.292, allocations: 2.788 GB / 3.292 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/8.293, allocations: 83.3 kB / 3.292 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.88/10.17, allocations: 439.6 MB / 3.721 GB, free: 59.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.086e-06/10.17, allocations: 0.9375 kB / 3.721 GB, free: 59.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.405e-05/10.17, allocations: 19.66 kB / 3.721 GB, free: 59.59 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.008621/10.18, allocations: 1.764 MB / 3.723 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/10.18, allocations: 7.719 kB / 3.723 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/10.18, allocations: 328.9 kB / 3.723 GB, free: 58.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/10.19, allocations: 0.5684 MB / 3.724 GB, free: 58.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/10.19, allocations: 23.41 kB / 3.724 GB, free: 58.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/10.19, allocations: 33.53 kB / 3.724 GB, free: 58.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009688/10.19, allocations: 0.539 MB / 3.725 GB, free: 57.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009564/10.19, allocations: 0.662 MB / 3.725 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/10.19, allocations: 7.875 kB / 3.725 GB, free: 57.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/10.19, allocations: 0 / 3.725 GB, free: 57.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/10.19, allocations: 29.5 kB / 3.725 GB, free: 57.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.02041/10.21, allocations: 12.73 MB / 3.738 GB, free: 48.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008237/10.21, allocations: 458.9 kB / 3.738 GB, free: 48.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/10.21, allocations: 224.5 kB / 3.738 GB, free: 48.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1143/10.32, allocations: 62 MB / 3.799 GB, free: 17.19 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.234e-05/10.32, allocations: 43 kB / 3.799 GB, free: 17.14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 3.337e-06/10.32, allocations: 0 / 3.799 GB, free: 17.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=51): time 0.006662/10.33, allocations: 1.813 MB / 3.801 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/10.33, allocations: 107.2 kB / 3.801 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/10.33, allocations: 385.4 kB / 3.801 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/10.33, allocations: 25.7 kB / 3.801 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/10.33, allocations: 326.3 kB / 3.801 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/10.33, allocations: 183.1 kB / 3.802 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/10.33, allocations: 0 / 3.802 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001737/10.33, allocations: 358 kB / 3.802 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/10.33, allocations: 192 kB / 3.802 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/10.33, allocations: 360.7 kB / 3.802 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/10.33, allocations: 324 kB / 3.803 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/10.33, allocations: 4 kB / 3.803 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002081/10.34, allocations: 0.8372 MB / 3.804 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008593/10.34, allocations: 1.742 MB / 3.805 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/10.34, allocations: 7.938 kB / 3.805 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/10.34, allocations: 303.6 kB / 3.806 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/10.34, allocations: 128.3 kB / 3.806 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/10.34, allocations: 0.9623 MB / 3.807 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008279/10.34, allocations: 81.11 kB / 3.807 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.72e-05/10.34, allocations: 35.55 kB / 3.807 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/10.34, allocations: 4 kB / 3.807 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001773/10.34, allocations: 0.6812 MB / 3.807 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/10.34, allocations: 15.16 kB / 3.807 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/10.34, allocations: 278.9 kB / 3.808 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/10.34, allocations: 141.2 kB / 3.808 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/10.35, allocations: 0.8739 MB / 3.809 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007938/10.35, allocations: 78.48 kB / 3.809 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/10.35, allocations: 31.61 kB / 3.809 GB, free: 7.488 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 (55): * Single equations (assignments): 54 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002931/10.35, allocations: 122 kB / 3.809 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001626/10.35, allocations: 0.5693 MB / 3.81 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/10.35, allocations: 63 kB / 3.81 GB, free: 6.789 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/10.35, allocations: 2.619 MB / 3.812 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/10.35, allocations: 38.02 kB / 3.812 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/10.35, allocations: 3.656 kB / 3.812 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/10.35, allocations: 0 / 3.812 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004359/10.36, allocations: 3.623 MB / 3.816 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/10.36, allocations: 7.875 kB / 3.816 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000746/10.36, allocations: 170.8 kB / 3.816 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002268/10.36, allocations: 63.53 kB / 3.816 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/10.36, allocations: 7.75 kB / 3.816 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009291/10.36, allocations: 1.212 MB / 3.817 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/10.36, allocations: 0 / 3.817 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/10.36, allocations: 2.261 MB / 3.819 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005255/10.36, allocations: 324 kB / 3.82 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/10.36, allocations: 4 kB / 3.82 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005291/10.36, allocations: 62.86 kB / 3.82 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/10.36, allocations: 55.06 kB / 3.82 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/10.36, allocations: 23.7 kB / 3.82 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004886/10.36, allocations: 388 kB / 3.82 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/10.36, allocations: 0 / 3.82 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007623/10.37, allocations: 1.36 MB / 3.821 GB, free: 11.65 MB / 0.5573 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,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse16.phase,$cse16.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 (65): * Single equations (assignments): 51 * 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.01352/10.38, allocations: 4.542 MB / 3.826 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00279/10.39, allocations: 1.202 MB / 3.827 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/10.39, allocations: 4 kB / 3.827 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/10.39, allocations: 0.74 MB / 3.828 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/10.39, allocations: 290.2 kB / 3.828 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008268/10.4, allocations: 2.402 MB / 3.83 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/10.4, allocations: 1.146 MB / 3.832 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001331/10.4, allocations: 0.6965 MB / 3.832 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/10.4, allocations: 427.3 kB / 3.833 GB, free: 1.145 MB / 0.5573 GB Notification: Performance of SimCode: time 1.693e-06/10.4, allocations: 4 kB / 3.833 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5163/10.92, allocations: 50.23 MB / 3.882 GB, free: 89.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/10.92, allocations: 191.7 kB / 3.882 GB, free: 89.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.955/14.87, allocations: 0 / 3.882 GB, free: 89.59 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat