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.001404/0.001404, allocations: 197.2 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.352/1.352, allocations: 225.4 MB / 240.1 MB, free: 15.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008942/0.0008942, allocations: 87.61 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1893/0.1893, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.721e-05, allocations: 4 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 63.25 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.698/5.808, allocations: 2.789 GB / 3.3 GB, free: 200 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/5.808, allocations: 82.02 kB / 3.3 GB, free: 156 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.321/7.129, allocations: 444.6 MB / 3.734 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.332e-06/7.129, allocations: 0 / 3.734 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.853e-05/7.129, allocations: 20 kB / 3.734 GB, free: 3.09 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.006077/7.136, allocations: 1.788 MB / 3.736 GB, free: 1.254 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/7.136, allocations: 12.03 kB / 3.736 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/7.136, allocations: 94.52 kB / 3.736 GB, free: 1.141 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/7.138, allocations: 346.6 kB / 3.736 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009862/7.139, allocations: 0.5693 MB / 3.737 GB, free: 192 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/7.139, allocations: 57.3 kB / 3.737 GB, free: 136 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-05/7.139, allocations: 52.69 kB / 3.737 GB, free: 84 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3141/7.453, allocations: 0.9946 MB / 3.738 GB, free: 73.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/7.453, allocations: 7.375 kB / 3.738 GB, free: 73.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/7.453, allocations: 23.66 kB / 3.738 GB, free: 73.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/7.453, allocations: 24.66 kB / 3.738 GB, free: 73.62 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/7.455, allocations: 0.8293 MB / 3.739 GB, free: 73.61 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.005397/7.461, allocations: 4.84 MB / 3.744 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/7.463, allocations: 0.7513 MB / 3.744 GB, free: 70.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/7.463, allocations: 236 kB / 3.745 GB, free: 70.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0448/7.508, allocations: 26.71 MB / 3.771 GB, free: 53.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/7.508, allocations: 42.94 kB / 3.771 GB, free: 53.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/7.508, allocations: 0 / 3.771 GB, free: 53.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.003687/7.511, allocations: 1.075 MB / 3.772 GB, free: 53.02 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/7.512, allocations: 112.5 kB / 3.772 GB, free: 52.89 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007494/7.512, allocations: 477 kB / 3.772 GB, free: 52.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.183e-05/7.512, allocations: 32.05 kB / 3.772 GB, free: 52.74 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/7.513, allocations: 344.1 kB / 3.773 GB, free: 52.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/7.513, allocations: 160.1 kB / 3.773 GB, free: 52.51 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/7.513, allocations: 15.97 kB / 3.773 GB, free: 52.51 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001182/7.513, allocations: 370.8 kB / 3.773 GB, free: 52.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/7.513, allocations: 185.3 kB / 3.773 GB, free: 52.19 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/7.514, allocations: 371.5 kB / 3.774 GB, free: 51.99 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/7.514, allocations: 225.9 kB / 3.774 GB, free: 51.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/7.514, allocations: 1.281 kB / 3.774 GB, free: 51.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00127/7.515, allocations: 0.7233 MB / 3.775 GB, free: 51.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003268/7.516, allocations: 2.011 MB / 3.777 GB, free: 49.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/7.516, allocations: 5.438 kB / 3.777 GB, free: 49.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/7.518, allocations: 444.8 kB / 3.777 GB, free: 49.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/7.518, allocations: 144.6 kB / 3.777 GB, free: 49.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009404/7.519, allocations: 0.8059 MB / 3.778 GB, free: 49.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/7.52, allocations: 130.6 kB / 3.778 GB, free: 49.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-05/7.52, allocations: 35.36 kB / 3.778 GB, free: 49.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/7.52, allocations: 5.219 kB / 3.778 GB, free: 49.27 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001245/7.522, allocations: 0.6595 MB / 3.779 GB, free: 49.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/7.522, allocations: 4.938 kB / 3.779 GB, free: 49.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008677/7.522, allocations: 181.9 kB / 3.779 GB, free: 49.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/7.523, allocations: 157 kB / 3.779 GB, free: 49.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006655/7.524, allocations: 0.7141 MB / 3.78 GB, free: 48.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/7.524, allocations: 120.6 kB / 3.78 GB, free: 48.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/7.524, allocations: 35.19 kB / 3.78 GB, free: 48.7 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 () * 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.0001505/7.525, allocations: 145.8 kB / 3.78 GB, free: 48.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/7.525, allocations: 62 kB / 3.78 GB, free: 48.56 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/7.527, allocations: 3.05 MB / 3.783 GB, free: 48.28 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/7.527, allocations: 49.86 kB / 3.783 GB, free: 48.28 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/7.527, allocations: 3.953 kB / 3.783 GB, free: 48.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/7.527, allocations: 6.312 kB / 3.783 GB, free: 48.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/7.529, allocations: 1.479 MB / 3.785 GB, free: 48.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/7.529, allocations: 0 / 3.785 GB, free: 48.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/7.529, allocations: 93.72 kB / 3.785 GB, free: 48.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002501/7.531, allocations: 1.399 MB / 3.786 GB, free: 47.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/7.531, allocations: 18.28 kB / 3.786 GB, free: 47.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/7.533, allocations: 1.533 MB / 3.788 GB, free: 47.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/7.533, allocations: 0 / 3.788 GB, free: 47.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/7.534, allocations: 2.027 MB / 3.79 GB, free: 47.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/7.535, allocations: 330.7 kB / 3.79 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/7.535, allocations: 12.25 kB / 3.79 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005093/7.535, allocations: 80.39 kB / 3.79 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.764e-05/7.535, allocations: 51.84 kB / 3.79 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/7.535, allocations: 21.58 kB / 3.79 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004191/7.536, allocations: 464.7 kB / 3.791 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/7.536, allocations: 0 / 3.791 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004796/7.541, allocations: 1.444 MB / 3.792 GB, free: 46.83 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 () * 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.007257/7.548, allocations: 3.894 MB / 3.796 GB, free: 45.97 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002136/7.55, allocations: 1.222 MB / 3.797 GB, free: 45.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/7.55, allocations: 0 / 3.797 GB, free: 45.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006961/7.551, allocations: 0.74 MB / 3.798 GB, free: 45.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/7.552, allocations: 328.4 kB / 3.798 GB, free: 45.92 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/7.556, allocations: 2.379 MB / 3.8 GB, free: 45.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/7.557, allocations: 1.17 MB / 3.802 GB, free: 44.71 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009683/7.558, allocations: 0.6889 MB / 3.802 GB, free: 44.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/7.558, allocations: 405.9 kB / 3.803 GB, free: 44.7 MB / 0.5417 GB Notification: Performance of SimCode: time 4.7e-07/7.558, allocations: 0 / 3.803 GB, free: 44.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07801/7.636, allocations: 58.8 MB / 3.86 GB, free: 42.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/7.636, allocations: 238 kB / 3.86 GB, free: 41.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.702/11.34, allocations: 0 / 3.86 GB, free: 41.96 MB / 0.5417 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