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.00124/0.00124, allocations: 196.9 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.331/1.331, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 89.03 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1804/0.1804, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.917e-05/2.919e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.08863, allocations: 63.24 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.554/5.643, allocations: 2.788 GB / 3.3 GB, free: 69.32 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/5.643, allocations: 83.95 kB / 3.3 GB, free: 69.23 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.452/7.096, allocations: 443.8 MB / 3.733 GB, free: 62.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.523e-06/7.096, allocations: 3.172 kB / 3.733 GB, free: 62.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.126e-05/7.096, allocations: 23.94 kB / 3.733 GB, free: 62.43 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.006499/7.102, allocations: 1.761 MB / 3.735 GB, free: 60.63 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/7.102, allocations: 8.031 kB / 3.735 GB, free: 60.62 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/7.102, allocations: 101 kB / 3.735 GB, free: 60.52 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/7.105, allocations: 326.8 kB / 3.735 GB, free: 60.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009569/7.106, allocations: 0.5666 MB / 3.736 GB, free: 59.61 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/7.106, allocations: 45.31 kB / 3.736 GB, free: 59.57 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.482e-05/7.106, allocations: 56.69 kB / 3.736 GB, free: 59.51 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/7.108, allocations: 0.9763 MB / 3.737 GB, free: 58.47 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/7.108, allocations: 3.938 kB / 3.737 GB, free: 58.47 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.885e-05/7.108, allocations: 27.42 kB / 3.737 GB, free: 58.45 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/7.108, allocations: 24.81 kB / 3.737 GB, free: 58.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/7.109, allocations: 0.8 MB / 3.738 GB, free: 57.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.003783/7.113, allocations: 4.534 MB / 3.742 GB, free: 52.72 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/7.115, allocations: 0.7211 MB / 3.743 GB, free: 52 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/7.115, allocations: 242.1 kB / 3.743 GB, free: 51.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4387/7.554, allocations: 62 MB / 3.804 GB, free: 71.08 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/7.554, allocations: 44.31 kB / 3.804 GB, free: 71.04 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.675e-06/7.554, allocations: 2.078 kB / 3.804 GB, free: 71.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.005365/7.559, allocations: 1.848 MB / 3.805 GB, free: 70.72 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/7.559, allocations: 109.4 kB / 3.806 GB, free: 70.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/7.56, allocations: 446.9 kB / 3.806 GB, free: 70.47 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/7.56, allocations: 33.27 kB / 3.806 GB, free: 70.44 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/7.56, allocations: 329.4 kB / 3.806 GB, free: 70.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/7.56, allocations: 176.5 kB / 3.807 GB, free: 70.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/7.56, allocations: 17.72 kB / 3.807 GB, free: 70.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/7.561, allocations: 364.4 kB / 3.807 GB, free: 69.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/7.561, allocations: 192.7 kB / 3.807 GB, free: 69.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/7.561, allocations: 372.3 kB / 3.807 GB, free: 69.71 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/7.562, allocations: 233.5 kB / 3.808 GB, free: 69.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/7.562, allocations: 4.969 kB / 3.808 GB, free: 69.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001938/7.564, allocations: 0.7983 MB / 3.808 GB, free: 69.63 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004835/7.564, allocations: 1.745 MB / 3.81 GB, free: 67.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/7.564, allocations: 8.797 kB / 3.81 GB, free: 67.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00205/7.566, allocations: 381.9 kB / 3.811 GB, free: 67.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/7.567, allocations: 138.8 kB / 3.811 GB, free: 67.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/7.569, allocations: 0.8784 MB / 3.812 GB, free: 67.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/7.57, allocations: 91.27 kB / 3.812 GB, free: 67.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/7.57, allocations: 34.48 kB / 3.812 GB, free: 67.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/7.57, allocations: 3.688 kB / 3.812 GB, free: 67.28 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002353/7.572, allocations: 0.7671 MB / 3.812 GB, free: 67.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/7.572, allocations: 4.781 kB / 3.812 GB, free: 67.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/7.573, allocations: 298.5 kB / 3.813 GB, free: 67.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/7.574, allocations: 141.7 kB / 3.813 GB, free: 67.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000959/7.575, allocations: 0.8294 MB / 3.814 GB, free: 66.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007712/7.576, allocations: 92.34 kB / 3.814 GB, free: 66.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/7.576, allocations: 33.64 kB / 3.814 GB, free: 66.71 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.0002125/7.576, allocations: 142.7 kB / 3.814 GB, free: 66.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/7.576, allocations: 66.73 kB / 3.814 GB, free: 66.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/7.58, allocations: 2.839 MB / 3.817 GB, free: 66.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.544e-05/7.58, allocations: 45.88 kB / 3.817 GB, free: 66.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/7.58, allocations: 0.6562 kB / 3.817 GB, free: 66.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/7.58, allocations: 4.438 kB / 3.817 GB, free: 66.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006186/7.587, allocations: 4.004 MB / 3.821 GB, free: 65.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/7.587, allocations: 0 / 3.821 GB, free: 65.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008552/7.588, allocations: 171.3 kB / 3.821 GB, free: 65.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/7.588, allocations: 73.52 kB / 3.821 GB, free: 65.87 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/7.588, allocations: 20.91 kB / 3.821 GB, free: 65.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005154/7.589, allocations: 1.18 MB / 3.822 GB, free: 64.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/7.589, allocations: 0.6094 kB / 3.822 GB, free: 64.76 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/7.591, allocations: 2.375 MB / 3.824 GB, free: 64.48 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006931/7.592, allocations: 329.9 kB / 3.825 GB, free: 64.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/7.592, allocations: 10.23 kB / 3.825 GB, free: 64.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007188/7.593, allocations: 74.95 kB / 3.825 GB, free: 64.31 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/7.593, allocations: 54.98 kB / 3.825 GB, free: 64.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/7.593, allocations: 29.03 kB / 3.825 GB, free: 64.31 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006767/7.594, allocations: 448.5 kB / 3.825 GB, free: 64.21 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.81e-07/7.594, allocations: 3.219 kB / 3.825 GB, free: 64.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006846/7.601, allocations: 1.41 MB / 3.827 GB, free: 64.21 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,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * 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.01342/7.614, allocations: 4.558 MB / 3.831 GB, free: 63.33 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003536/7.618, allocations: 1.291 MB / 3.832 GB, free: 63.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/7.618, allocations: 2.812 kB / 3.832 GB, free: 63.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/7.619, allocations: 0.8063 MB / 3.833 GB, free: 63.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/7.622, allocations: 329.1 kB / 3.833 GB, free: 63.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007115/7.629, allocations: 2.553 MB / 3.836 GB, free: 62.79 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/7.629, allocations: 1.162 MB / 3.837 GB, free: 62.08 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001205/7.631, allocations: 0.6886 MB / 3.838 GB, free: 62.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004418/7.631, allocations: 451.6 kB / 3.838 GB, free: 62.07 MB / 0.5417 GB Notification: Performance of SimCode: time 1.082e-06/7.631, allocations: 0 / 3.838 GB, free: 62.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09292/7.724, allocations: 59.11 MB / 3.896 GB, free: 59.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/7.724, allocations: 242.4 kB / 3.896 GB, free: 59.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.838/11.56, allocations: 2.375 kB / 3.896 GB, free: 59.4 MB / 0.5417 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