Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, 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.634/1.634, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 101.4 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2778/0.2778, allocations: 45.15 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.249e-05/2.258e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1564, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.475/8.631, allocations: 2.787 GB / 3.292 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/8.631, allocations: 83.06 kB / 3.292 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.635/10.27, allocations: 439.2 MB / 3.721 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.473e-06/10.27, allocations: 1.312 kB / 3.721 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.046e-05/10.27, allocations: 18.72 kB / 3.721 GB, free: 59.44 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.006975/10.27, allocations: 1.761 MB / 3.723 GB, free: 58.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/10.27, allocations: 10.22 kB / 3.723 GB, free: 58.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/10.28, allocations: 328.8 kB / 3.723 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/10.28, allocations: 0.5688 MB / 3.724 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.691e-05/10.28, allocations: 25.5 kB / 3.724 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/10.28, allocations: 33.22 kB / 3.724 GB, free: 57.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001016/10.28, allocations: 0.54 MB / 3.724 GB, free: 57.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/10.28, allocations: 0.6628 MB / 3.725 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/10.28, allocations: 0 / 3.725 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-05/10.28, allocations: 3.969 kB / 3.725 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/10.28, allocations: 18.88 kB / 3.725 GB, free: 57.41 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.08086/10.36, allocations: 48.69 MB / 3.772 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/10.36, allocations: 345.5 kB / 3.773 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/10.36, allocations: 188.5 kB / 3.773 GB, free: 23.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04867/10.41, allocations: 26.74 MB / 3.799 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.085e-05/10.41, allocations: 42.78 kB / 3.799 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 3.556e-06/10.41, allocations: 0 / 3.799 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.003543/10.41, allocations: 0.8124 MB / 3.8 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/10.41, allocations: 110.8 kB / 3.8 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007488/10.42, allocations: 405.6 kB / 3.8 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.087e-05/10.42, allocations: 25.7 kB / 3.8 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/10.42, allocations: 348.7 kB / 3.801 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/10.42, allocations: 129.2 kB / 3.801 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/10.42, allocations: 0 / 3.801 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001822/10.42, allocations: 369.6 kB / 3.801 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/10.42, allocations: 158.9 kB / 3.801 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/10.42, allocations: 338.3 kB / 3.802 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/10.42, allocations: 300.6 kB / 3.802 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/10.42, allocations: 0 / 3.802 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001918/10.42, allocations: 0.7038 MB / 3.803 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001139/10.42, allocations: 2.014 MB / 3.804 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/10.42, allocations: 7.797 kB / 3.805 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008175/10.42, allocations: 174.5 kB / 3.805 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/10.42, allocations: 143.5 kB / 3.805 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/10.42, allocations: 0.8193 MB / 3.806 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/10.42, allocations: 120.6 kB / 3.806 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.701e-05/10.43, allocations: 35.8 kB / 3.806 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/10.43, allocations: 4 kB / 3.806 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001665/10.43, allocations: 0.602 MB / 3.806 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/10.43, allocations: 8 kB / 3.806 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007642/10.43, allocations: 166.8 kB / 3.807 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/10.43, allocations: 138.4 kB / 3.807 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008769/10.43, allocations: 0.7368 MB / 3.807 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000743/10.43, allocations: 100.5 kB / 3.807 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/10.43, allocations: 31.66 kB / 3.807 GB, free: 6.379 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.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 (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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002321/10.43, allocations: 124.9 kB / 3.808 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001439/10.43, allocations: 0.5086 MB / 3.808 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/10.43, allocations: 55.34 kB / 3.808 GB, free: 5.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/10.43, allocations: 2.465 MB / 3.811 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.953e-05/10.43, allocations: 35.14 kB / 3.811 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/10.43, allocations: 0 / 3.811 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/10.43, allocations: 7.875 kB / 3.811 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/10.44, allocations: 1.126 MB / 3.812 GB, free: 2.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/10.44, allocations: 0 / 3.812 GB, free: 2.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/10.44, allocations: 67.42 kB / 3.812 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/10.44, allocations: 1.088 MB / 3.813 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/10.44, allocations: 3.953 kB / 3.813 GB, free: 1.543 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/10.44, allocations: 1.642 MB / 3.814 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/10.44, allocations: 0.6094 kB / 3.814 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/10.44, allocations: 1.797 MB / 3.816 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005549/10.44, allocations: 279.1 kB / 3.816 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/10.44, allocations: 3.984 kB / 3.816 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006539/10.44, allocations: 71.88 kB / 3.817 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/10.44, allocations: 36.38 kB / 3.817 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/10.44, allocations: 23.94 kB / 3.817 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005702/10.44, allocations: 370.9 kB / 3.817 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/10.44, allocations: 0 / 3.817 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006283/10.45, allocations: 1.389 MB / 3.818 GB, free: 12.16 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.01307/10.46, allocations: 3.748 MB / 3.822 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003036/10.47, allocations: 1.028 MB / 3.823 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/10.47, allocations: 0 / 3.823 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009183/10.47, allocations: 0.6053 MB / 3.824 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/10.47, allocations: 285.1 kB / 3.824 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00672/10.48, allocations: 2.055 MB / 3.826 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/10.48, allocations: 1.103 MB / 3.827 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001416/10.48, allocations: 0.7255 MB / 3.828 GB, free: 2.723 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/10.48, allocations: 347.3 kB / 3.828 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of SimCode: time 1.212e-06/10.48, allocations: 0 / 3.828 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4367/10.92, allocations: 47.48 MB / 3.874 GB, free: 89.44 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/10.92, allocations: 186.3 kB / 3.874 GB, free: 89.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.625/14.54, allocations: 0 / 3.874 GB, free: 89.25 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat