Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.625/1.625, allocations: 227.2 MB / 245 MB, free: 5.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001201, allocations: 100.9 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5104/0.5104, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 4.219 kB / 468.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5022/0.5025, allocations: 63.25 MB / 0.5193 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.024/8.527, allocations: 2.789 GB / 3.308 GB, free: 99.74 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/8.527, allocations: 91.3 kB / 3.308 GB, free: 99.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.672/10.2, allocations: 445.9 MB / 3.743 GB, free: 63.69 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.378e-06/10.2, allocations: 3.344 kB / 3.743 GB, free: 63.69 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001368/10.2, allocations: 25.69 kB / 3.743 GB, free: 63.68 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00962/10.21, allocations: 1.872 MB / 3.745 GB, free: 62.54 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/10.21, allocations: 6.531 kB / 3.745 GB, free: 62.54 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000493/10.21, allocations: 104.2 kB / 3.745 GB, free: 62.47 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003126/10.21, allocations: 333.6 kB / 3.746 GB, free: 62.41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/10.21, allocations: 0.5741 MB / 3.746 GB, free: 62.02 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-05/10.22, allocations: 52.05 kB / 3.746 GB, free: 62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/10.22, allocations: 61.94 kB / 3.746 GB, free: 61.98 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/10.22, allocations: 1.021 MB / 3.747 GB, free: 61.54 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.453e-05/10.22, allocations: 3.938 kB / 3.747 GB, free: 61.54 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/10.22, allocations: 30.5 kB / 3.747 GB, free: 61.52 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-05/10.22, allocations: 20.5 kB / 3.747 GB, free: 61.52 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/10.22, allocations: 0.9278 MB / 3.748 GB, free: 61.29 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.007253/10.23, allocations: 4.837 MB / 3.753 GB, free: 57.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/10.23, allocations: 0.8363 MB / 3.754 GB, free: 57.19 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04831/10.28, allocations: 26.65 MB / 3.78 GB, free: 38.85 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/10.28, allocations: 42.91 kB / 3.78 GB, free: 38.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.374e-06/10.28, allocations: 0 / 3.78 GB, free: 38.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.00735/10.29, allocations: 1.863 MB / 3.782 GB, free: 38.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/10.29, allocations: 110.5 kB / 3.782 GB, free: 38.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/10.29, allocations: 485.4 kB / 3.782 GB, free: 37.95 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/10.29, allocations: 33.7 kB / 3.782 GB, free: 37.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/10.29, allocations: 341.6 kB / 3.783 GB, free: 37.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/10.29, allocations: 163 kB / 3.783 GB, free: 37.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/10.29, allocations: 11.47 kB / 3.783 GB, free: 37.51 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000189/10.29, allocations: 370.3 kB / 3.783 GB, free: 37.17 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007877/10.29, allocations: 264.1 kB / 3.783 GB, free: 37.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008065/10.29, allocations: 452.7 kB / 3.784 GB, free: 36.79 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007546/10.29, allocations: 308.8 kB / 3.784 GB, free: 36.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/10.29, allocations: 0 / 3.784 GB, free: 36.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00229/10.29, allocations: 0.894 MB / 3.785 GB, free: 36.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008336/10.3, allocations: 2.011 MB / 3.787 GB, free: 34.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/10.3, allocations: 2.656 kB / 3.787 GB, free: 34.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002683/10.3, allocations: 472.3 kB / 3.787 GB, free: 34.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/10.3, allocations: 147.4 kB / 3.788 GB, free: 34.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/10.3, allocations: 0.8556 MB / 3.788 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009713/10.3, allocations: 138.2 kB / 3.789 GB, free: 33.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-05/10.3, allocations: 38.72 kB / 3.789 GB, free: 33.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/10.3, allocations: 2.625 kB / 3.789 GB, free: 33.41 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002038/10.3, allocations: 0.8224 MB / 3.789 GB, free: 33.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/10.3, allocations: 7.812 kB / 3.789 GB, free: 33.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/10.3, allocations: 215.1 kB / 3.79 GB, free: 33.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/10.3, allocations: 155.3 kB / 3.79 GB, free: 33.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/10.31, allocations: 0.7657 MB / 3.791 GB, free: 32.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009017/10.31, allocations: 114.8 kB / 3.791 GB, free: 32.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/10.31, allocations: 33.28 kB / 3.791 GB, free: 32.42 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 (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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005319/10.31, allocations: 293.6 kB / 3.791 GB, free: 32.17 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/10.31, allocations: 65.41 kB / 3.791 GB, free: 32.13 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/10.31, allocations: 3.091 MB / 3.794 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-05/10.31, allocations: 42.05 kB / 3.794 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/10.31, allocations: 3.688 kB / 3.794 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/10.31, allocations: 3.75 kB / 3.794 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/10.31, allocations: 1.477 MB / 3.796 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/10.31, allocations: 0 / 3.796 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/10.31, allocations: 92.42 kB / 3.796 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003092/10.32, allocations: 1.241 MB / 3.797 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-05/10.32, allocations: 15.7 kB / 3.797 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/10.32, allocations: 1.504 MB / 3.798 GB, free: 27.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/10.32, allocations: 0 / 3.798 GB, free: 27.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/10.32, allocations: 2.083 MB / 3.8 GB, free: 25.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/10.32, allocations: 336.5 kB / 3.801 GB, free: 25.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/10.32, allocations: 8 kB / 3.801 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006762/10.32, allocations: 87.41 kB / 3.801 GB, free: 25.56 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/10.32, allocations: 50.22 kB / 3.801 GB, free: 25.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/10.32, allocations: 19.52 kB / 3.801 GB, free: 25.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006303/10.32, allocations: 483 kB / 3.801 GB, free: 25.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/10.32, allocations: 0 / 3.801 GB, free: 25.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007875/10.33, allocations: 1.445 MB / 3.803 GB, free: 23.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01303/10.35, allocations: 4.038 MB / 3.807 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004012/10.35, allocations: 1.421 MB / 3.808 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/10.35, allocations: 4 kB / 3.808 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/10.35, allocations: 0.799 MB / 3.809 GB, free: 18.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/10.35, allocations: 336.1 kB / 3.809 GB, free: 18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/10.36, allocations: 7.267 MB / 3.816 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/10.36, allocations: 1.166 MB / 3.817 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002046/10.37, allocations: 0.6479 MB / 3.818 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006918/10.37, allocations: 423.3 kB / 3.818 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of SimCode: time 1.443e-06/10.37, allocations: 0 / 3.818 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5018/10.87, allocations: 55.21 MB / 3.872 GB, free: 63.95 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/10.87, allocations: 267.4 kB / 3.873 GB, free: 63.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.059/14.93, allocations: 0 / 3.873 GB, free: 63.59 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat