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.001686/0.001687, allocations: 202.1 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.544/1.544, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008977/0.0008979, allocations: 92.22 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2555/0.2555, allocations: 45.14 MB / 383.8 MB, free: 228 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.348e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1683, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.538/8.706, allocations: 2.787 GB / 3.292 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/8.706, allocations: 85.39 kB / 3.292 GB, free: 55.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.527/10.23, allocations: 439.5 MB / 3.721 GB, free: 31.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.723e-06/10.23, allocations: 0 / 3.721 GB, free: 31.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.769e-05/10.23, allocations: 16 kB / 3.721 GB, free: 31.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.006444/10.24, allocations: 1.762 MB / 3.723 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/10.24, allocations: 12.02 kB / 3.723 GB, free: 29.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/10.24, allocations: 326.8 kB / 3.723 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/10.24, allocations: 0.567 MB / 3.724 GB, free: 28.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/10.24, allocations: 24 kB / 3.724 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/10.24, allocations: 32 kB / 3.724 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007921/10.24, allocations: 0.5343 MB / 3.724 GB, free: 28.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008218/10.24, allocations: 0.6512 MB / 3.725 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/10.24, allocations: 11.88 kB / 3.725 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-05/10.25, allocations: 4 kB / 3.725 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/10.25, allocations: 25.31 kB / 3.725 GB, free: 27.52 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.03514/10.28, allocations: 20.95 MB / 3.746 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00092/10.28, allocations: 410.4 kB / 3.746 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/10.28, allocations: 209.6 kB / 3.746 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5016/10.78, allocations: 53.68 MB / 3.799 GB, free: 54.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/10.78, allocations: 41.72 kB / 3.799 GB, free: 54.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=46): time 2.515e-06/10.78, allocations: 0.5 kB / 3.799 GB, free: 54.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=50): time 0.00588/10.79, allocations: 1.794 MB / 3.8 GB, free: 54.45 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/10.79, allocations: 109.5 kB / 3.801 GB, free: 54.32 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00045/10.79, allocations: 384.9 kB / 3.801 GB, free: 54.21 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/10.79, allocations: 25.7 kB / 3.801 GB, free: 54.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/10.79, allocations: 337.9 kB / 3.801 GB, free: 54.03 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/10.79, allocations: 171.3 kB / 3.801 GB, free: 53.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/10.79, allocations: 1.031 kB / 3.801 GB, free: 53.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.402e-05/10.79, allocations: 368.2 kB / 3.802 GB, free: 53.63 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/10.79, allocations: 181.5 kB / 3.802 GB, free: 53.63 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/10.79, allocations: 345.8 kB / 3.802 GB, free: 53.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/10.79, allocations: 314.1 kB / 3.803 GB, free: 53.44 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/10.79, allocations: 0 / 3.803 GB, free: 53.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002176/10.79, allocations: 0.8553 MB / 3.803 GB, free: 53.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003641/10.79, allocations: 1.832 MB / 3.805 GB, free: 51.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/10.79, allocations: 2.594 kB / 3.805 GB, free: 51.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/10.8, allocations: 303.3 kB / 3.805 GB, free: 51.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/10.8, allocations: 136.9 kB / 3.806 GB, free: 51.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/10.8, allocations: 0.9549 MB / 3.807 GB, free: 50.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/10.8, allocations: 81.31 kB / 3.807 GB, free: 50.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/10.8, allocations: 32.23 kB / 3.807 GB, free: 50.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/10.8, allocations: 3.625 kB / 3.807 GB, free: 50.91 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001807/10.8, allocations: 0.6966 MB / 3.807 GB, free: 50.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/10.8, allocations: 10.14 kB / 3.807 GB, free: 50.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008127/10.8, allocations: 271.4 kB / 3.808 GB, free: 50.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/10.8, allocations: 132.1 kB / 3.808 GB, free: 50.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007616/10.8, allocations: 0.86 MB / 3.809 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007366/10.8, allocations: 82.42 kB / 3.809 GB, free: 50.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/10.8, allocations: 32.44 kB / 3.809 GB, free: 50.34 MB / 0.5417 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 () * 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.0002378/10.8, allocations: 121.5 kB / 3.809 GB, free: 50.23 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001521/10.8, allocations: 0.5692 MB / 3.809 GB, free: 50.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/10.8, allocations: 59.44 kB / 3.809 GB, free: 50.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/10.81, allocations: 2.256 MB / 3.812 GB, free: 49.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/10.81, allocations: 34.23 kB / 3.812 GB, free: 49.87 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/10.81, allocations: 0 / 3.812 GB, free: 49.87 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/10.81, allocations: 7.125 kB / 3.812 GB, free: 49.87 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/10.81, allocations: 3.129 MB / 3.815 GB, free: 49.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/10.81, allocations: 3.953 kB / 3.815 GB, free: 49.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/10.81, allocations: 147 kB / 3.815 GB, free: 49.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002979/10.81, allocations: 96.78 kB / 3.815 GB, free: 49.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/10.81, allocations: 12.36 kB / 3.815 GB, free: 49.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006896/10.81, allocations: 1.156 MB / 3.816 GB, free: 48.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/10.81, allocations: 3.609 kB / 3.816 GB, free: 48.44 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/10.82, allocations: 1.862 MB / 3.818 GB, free: 48.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004416/10.82, allocations: 347.4 kB / 3.818 GB, free: 48.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/10.82, allocations: 3.953 kB / 3.818 GB, free: 48.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/10.82, allocations: 59.75 kB / 3.818 GB, free: 48.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/10.82, allocations: 60.39 kB / 3.818 GB, free: 48.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/10.82, allocations: 25.2 kB / 3.818 GB, free: 48.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006019/10.82, allocations: 494.2 kB / 3.819 GB, free: 47.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/10.82, allocations: 0 / 3.819 GB, free: 47.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006263/10.82, allocations: 1.373 MB / 3.82 GB, free: 47.91 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: 17 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.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 (58): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01123/10.83, allocations: 4.139 MB / 3.824 GB, free: 47.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001981/10.84, allocations: 1.1 MB / 3.825 GB, free: 47.03 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/10.84, allocations: 0 / 3.825 GB, free: 47.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007835/10.84, allocations: 0.5887 MB / 3.826 GB, free: 47.03 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/10.84, allocations: 273.8 kB / 3.826 GB, free: 47.03 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005757/10.84, allocations: 2.195 MB / 3.828 GB, free: 46.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/10.85, allocations: 1.113 MB / 3.829 GB, free: 45.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001107/10.85, allocations: 0.6908 MB / 3.83 GB, free: 45.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/10.85, allocations: 417.2 kB / 3.83 GB, free: 45.82 MB / 0.5417 GB Notification: Performance of SimCode: time 2.194e-06/10.85, allocations: 2.812 kB / 3.83 GB, free: 45.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08902/10.94, allocations: 49.58 MB / 3.879 GB, free: 43.08 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/10.94, allocations: 201.9 kB / 3.879 GB, free: 42.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.713/14.65, allocations: 4 kB / 3.879 GB, free: 42.88 MB / 0.5417 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