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.001061/0.001061, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001014, allocations: 98.3 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.2552/0.2552, allocations: 45.13 MB / 383.7 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.928e-05, allocations: 4 kB / 453.3 MB, free: 75.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1516, allocations: 63.26 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.484/8.635, allocations: 2.788 GB / 3.292 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/8.636, allocations: 85.66 kB / 3.292 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.834/10.47, allocations: 440.4 MB / 3.722 GB, free: 59.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.256e-06/10.47, allocations: 3.844 kB / 3.722 GB, free: 59.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001135/10.47, allocations: 15.88 kB / 3.722 GB, free: 59.42 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.008593/10.48, allocations: 1.79 MB / 3.724 GB, free: 58.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/10.48, allocations: 7.812 kB / 3.724 GB, free: 58.35 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/10.48, allocations: 337.4 kB / 3.725 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/10.48, allocations: 0.5728 MB / 3.725 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/10.48, allocations: 27.56 kB / 3.725 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/10.48, allocations: 35.09 kB / 3.725 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001073/10.48, allocations: 0.5709 MB / 3.726 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/10.49, allocations: 0.6759 MB / 3.726 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/10.49, allocations: 3.812 kB / 3.726 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/10.49, allocations: 0 / 3.726 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/10.49, allocations: 29.58 kB / 3.726 GB, free: 57.32 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.08539/10.57, allocations: 48.73 MB / 3.774 GB, free: 23.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/10.57, allocations: 456.5 kB / 3.774 GB, free: 23.13 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004091/10.57, allocations: 209.7 kB / 3.775 GB, free: 23.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05143/10.62, allocations: 26.71 MB / 3.801 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.95e-05/10.62, allocations: 42.41 kB / 3.801 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 6.653e-06/10.62, allocations: 0 / 3.801 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.003833/10.63, allocations: 0.8736 MB / 3.802 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/10.63, allocations: 106.8 kB / 3.802 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/10.63, allocations: 415.2 kB / 3.802 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/10.63, allocations: 25.7 kB / 3.802 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004276/10.63, allocations: 357.8 kB / 3.803 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/10.63, allocations: 145.1 kB / 3.803 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/10.63, allocations: 4 kB / 3.803 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002572/10.63, allocations: 362.7 kB / 3.803 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/10.63, allocations: 177.9 kB / 3.803 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/10.63, allocations: 362.8 kB / 3.804 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/10.63, allocations: 327.2 kB / 3.804 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/10.63, allocations: 0 / 3.804 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00208/10.63, allocations: 0.7788 MB / 3.805 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008145/10.64, allocations: 2.013 MB / 3.807 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/10.64, allocations: 6.859 kB / 3.807 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/10.64, allocations: 279 kB / 3.807 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/10.64, allocations: 146.6 kB / 3.807 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/10.64, allocations: 0.8876 MB / 3.808 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/10.64, allocations: 129.8 kB / 3.808 GB, free: 6.691 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/10.64, allocations: 39.61 kB / 3.808 GB, free: 6.656 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/10.64, allocations: 8 kB / 3.808 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001743/10.64, allocations: 0.6517 MB / 3.809 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/10.64, allocations: 15.92 kB / 3.809 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007806/10.64, allocations: 168.5 kB / 3.809 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/10.64, allocations: 160 kB / 3.809 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009106/10.64, allocations: 0.7296 MB / 3.81 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008151/10.64, allocations: 108.9 kB / 3.81 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/10.64, allocations: 35.8 kB / 3.81 GB, free: 4.973 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 (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.0002349/10.64, allocations: 126 kB / 3.81 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001472/10.65, allocations: 0.5616 MB / 3.81 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/10.65, allocations: 63.3 kB / 3.811 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/10.65, allocations: 2.5 MB / 3.813 GB, free: 2.023 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.995e-05/10.65, allocations: 40.08 kB / 3.813 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/10.65, allocations: 0 / 3.813 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/10.65, allocations: 3.984 kB / 3.813 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/10.65, allocations: 1.152 MB / 3.814 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/10.65, allocations: 0 / 3.814 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/10.65, allocations: 71.88 kB / 3.814 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002161/10.65, allocations: 1.173 MB / 3.815 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/10.65, allocations: 11.98 kB / 3.815 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/10.66, allocations: 1.699 MB / 3.817 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/10.66, allocations: 0 / 3.817 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/10.66, allocations: 1.849 MB / 3.819 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/10.66, allocations: 291 kB / 3.819 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/10.66, allocations: 0 / 3.819 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/10.66, allocations: 71.83 kB / 3.819 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/10.66, allocations: 44.44 kB / 3.819 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/10.66, allocations: 19.98 kB / 3.819 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005592/10.66, allocations: 386.8 kB / 3.82 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.2e-07/10.66, allocations: 0 / 3.82 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006695/10.67, allocations: 1.4 MB / 3.821 GB, free: 9.738 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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01222/10.68, allocations: 3.803 MB / 3.825 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002757/10.68, allocations: 1.093 MB / 3.826 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/10.68, allocations: 0 / 3.826 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009131/10.68, allocations: 0.6357 MB / 3.826 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/10.69, allocations: 270.2 kB / 3.827 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006954/10.69, allocations: 2.073 MB / 3.829 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008/10.69, allocations: 1.111 MB / 3.83 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00152/10.69, allocations: 0.7415 MB / 3.83 GB, free: 112 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3612/11.06, allocations: 359.8 kB / 3.831 GB, free: 91.08 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/11.06, allocations: 0 / 3.831 GB, free: 91.08 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09731/11.15, allocations: 48.54 MB / 3.878 GB, free: 89.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/11.15, allocations: 196.3 kB / 3.878 GB, free: 89.65 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.894/15.05, allocations: 1.719 kB / 3.878 GB, free: 89.65 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