Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001832/0.001832, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.615/1.615, allocations: 227.2 MB / 245 MB, free: 7.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 98.78 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5157/0.5157, allocations: 45.22 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003343, allocations: 8.219 kB / 468.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5291/0.5294, allocations: 63.24 MB / 0.5193 GB, free: 43.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.053/8.582, allocations: 2.788 GB / 3.307 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/8.583, allocations: 90.92 kB / 3.308 GB, free: 122 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.875/10.46, allocations: 445 MB / 3.742 GB, free: 58.93 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.735e-06/10.46, allocations: 2.188 kB / 3.742 GB, free: 58.93 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.258e-05/10.46, allocations: 17.84 kB / 3.742 GB, free: 58.93 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.007936/10.47, allocations: 1.842 MB / 3.744 GB, free: 57.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/10.47, allocations: 14.64 kB / 3.744 GB, free: 57.91 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001962/10.47, allocations: 96.25 kB / 3.744 GB, free: 57.84 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/10.47, allocations: 327.3 kB / 3.744 GB, free: 57.78 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/10.47, allocations: 0.5795 MB / 3.745 GB, free: 57.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/10.47, allocations: 52.84 kB / 3.745 GB, free: 57.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/10.47, allocations: 59.7 kB / 3.745 GB, free: 57.36 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/10.47, allocations: 0.9855 MB / 3.746 GB, free: 56.94 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/10.47, allocations: 1.531 kB / 3.746 GB, free: 56.94 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/10.47, allocations: 29.2 kB / 3.746 GB, free: 56.92 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/10.47, allocations: 18.53 kB / 3.746 GB, free: 56.91 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/10.47, allocations: 0.9095 MB / 3.747 GB, free: 56.69 MB / 0.5417 GB 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.005066/10.48, allocations: 4.454 MB / 3.751 GB, free: 53.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/10.48, allocations: 0.7851 MB / 3.752 GB, free: 52.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1106/10.59, allocations: 61.8 MB / 3.812 GB, free: 26.19 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.89e-05/10.59, allocations: 45.88 kB / 3.813 GB, free: 26.14 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 3.898e-06/10.59, allocations: 0 / 3.813 GB, free: 26.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.008788/10.6, allocations: 2.356 MB / 3.815 GB, free: 25.11 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/10.6, allocations: 110.8 kB / 3.815 GB, free: 24.99 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009683/10.6, allocations: 472.8 kB / 3.815 GB, free: 24.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/10.6, allocations: 37.2 kB / 3.815 GB, free: 24.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/10.6, allocations: 327.4 kB / 3.816 GB, free: 24.47 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/10.6, allocations: 180.7 kB / 3.816 GB, free: 24.33 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/10.6, allocations: 11.78 kB / 3.816 GB, free: 24.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003005/10.6, allocations: 368.6 kB / 3.816 GB, free: 23.99 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007509/10.6, allocations: 261.5 kB / 3.817 GB, free: 23.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008296/10.61, allocations: 434 kB / 3.817 GB, free: 23.62 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/10.61, allocations: 304.2 kB / 3.817 GB, free: 23.51 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/10.61, allocations: 0 / 3.817 GB, free: 23.51 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002761/10.61, allocations: 0.9798 MB / 3.818 GB, free: 23.15 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001716/10.61, allocations: 1.833 MB / 3.82 GB, free: 21.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/10.61, allocations: 3.938 kB / 3.82 GB, free: 21.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/10.61, allocations: 442 kB / 3.82 GB, free: 21.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/10.61, allocations: 124.4 kB / 3.82 GB, free: 21.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/10.62, allocations: 0.9242 MB / 3.821 GB, free: 20.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/10.62, allocations: 101.7 kB / 3.821 GB, free: 20.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/10.62, allocations: 28.75 kB / 3.822 GB, free: 20.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/10.62, allocations: 6.906 kB / 3.822 GB, free: 20.4 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002162/10.62, allocations: 0.8609 MB / 3.822 GB, free: 20.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/10.62, allocations: 3.719 kB / 3.822 GB, free: 20.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/10.62, allocations: 324.4 kB / 3.823 GB, free: 20.03 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/10.62, allocations: 135.2 kB / 3.823 GB, free: 20.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/10.62, allocations: 0.8766 MB / 3.824 GB, free: 19.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008116/10.62, allocations: 90.62 kB / 3.824 GB, free: 19.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/10.62, allocations: 36.78 kB / 3.824 GB, free: 19.33 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (54): * Single equations (assignments): 53 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006012/10.62, allocations: 280.9 kB / 3.824 GB, free: 19.08 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/10.62, allocations: 68.12 kB / 3.824 GB, free: 19.05 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/10.63, allocations: 2.758 MB / 3.827 GB, free: 17.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.97e-05/10.63, allocations: 45.5 kB / 3.827 GB, free: 17.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/10.63, allocations: 3.938 kB / 3.827 GB, free: 17.78 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/10.63, allocations: 3.281 kB / 3.827 GB, free: 17.78 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005129/10.63, allocations: 3.825 MB / 3.831 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/10.63, allocations: 0 / 3.831 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005662/10.63, allocations: 149.5 kB / 3.831 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004713/10.63, allocations: 103.9 kB / 3.831 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/10.63, allocations: 19.84 kB / 3.831 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009434/10.63, allocations: 1.134 MB / 3.832 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/10.63, allocations: 0 / 3.832 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/10.64, allocations: 2.301 MB / 3.834 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006312/10.64, allocations: 368.6 kB / 3.835 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/10.64, allocations: 8 kB / 3.835 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/10.64, allocations: 70.16 kB / 3.835 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/10.64, allocations: 54.36 kB / 3.835 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/10.64, allocations: 23.7 kB / 3.835 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007827/10.64, allocations: 0.565 MB / 3.835 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.81e-07/10.64, allocations: 8 kB / 3.835 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006924/10.65, allocations: 1.433 MB / 3.837 GB, free: 8.777 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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01427/10.66, allocations: 4.496 MB / 3.841 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003688/10.66, allocations: 1.409 MB / 3.842 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/10.66, allocations: 3.938 kB / 3.842 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/10.67, allocations: 0.7379 MB / 3.843 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/10.67, allocations: 347.9 kB / 3.843 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/10.68, allocations: 7.013 MB / 3.85 GB, free: 11.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/10.68, allocations: 1.152 MB / 3.851 GB, free: 10.94 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001682/10.68, allocations: 0.6587 MB / 3.852 GB, free: 10.55 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008023/10.68, allocations: 451.4 kB / 3.853 GB, free: 10.14 MB / 0.573 GB Notification: Performance of SimCode: time 1.933e-06/10.68, allocations: 0 / 3.853 GB, free: 10.14 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5514/11.24, allocations: 55.96 MB / 3.907 GB, free: 80.74 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/11.24, allocations: 267.6 kB / 3.907 GB, free: 80.39 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.34/15.58, allocations: 0 / 3.907 GB, free: 80.39 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat