Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002144/0.002144, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001117, allocations: 91.06 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3014/0.3014, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.204e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4295, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.323/8.752, allocations: 2.764 GB / 3.23 GB, free: 24.3 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/8.753, allocations: 83.94 kB / 3.23 GB, free: 24.25 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 4.228/12.98, allocations: 0.8114 GB / 4.041 GB, free: 3.973 MB / 0.5265 GB Notification: Performance of FrontEnd: time 2.955e-06/12.98, allocations: 0 / 4.041 GB, free: 3.973 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0001883/12.98, allocations: 43.77 kB / 4.041 GB, free: 3.934 MB / 0.5265 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01425/13, allocations: 2.596 MB / 4.044 GB, free: 1.297 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/13, allocations: 8.031 kB / 4.044 GB, free: 1.289 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005495/13, allocations: 461.8 kB / 4.044 GB, free: 0.8359 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4157/13.42, allocations: 0.9839 MB / 4.045 GB, free: 46.43 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/13.42, allocations: 52.02 kB / 4.045 GB, free: 46.43 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005361/13.42, allocations: 75.09 kB / 4.045 GB, free: 46.43 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004364/13.42, allocations: 1.158 MB / 4.046 GB, free: 46.43 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004924/13.43, allocations: 1.4 MB / 4.048 GB, free: 46.05 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.541e-05/13.43, allocations: 8.219 kB / 4.048 GB, free: 46.05 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004621/13.43, allocations: 3.719 kB / 4.048 GB, free: 46.05 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/13.43, allocations: 55.2 kB / 4.048 GB, free: 46.05 MB / 0.5265 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.4672/13.9, allocations: 144.7 MB / 4.189 GB, free: 19.08 MB / 0.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/13.9, allocations: 0.5677 MB / 4.19 GB, free: 19.06 MB / 0.589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008574/13.9, allocations: 359.8 kB / 4.19 GB, free: 19.05 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02789/13.93, allocations: 8.18 MB / 4.198 GB, free: 29.81 MB / 0.6046 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.922e-05/13.93, allocations: 45.16 kB / 4.198 GB, free: 29.77 MB / 0.6046 GB Notification: Performance of pre-optimization done (n=81): time 3.727e-06/13.93, allocations: 0 / 4.198 GB, free: 29.77 MB / 0.6046 GB Notification: Performance of matching and sorting (n=81): time 0.007709/13.93, allocations: 1.466 MB / 4.199 GB, free: 29.61 MB / 0.6046 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/13.93, allocations: 114.7 kB / 4.2 GB, free: 29.48 MB / 0.6046 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/13.93, allocations: 0.6922 MB / 4.2 GB, free: 29.33 MB / 0.6046 GB Notification: Performance of collectPreVariables (initialization): time 0.0002891/13.94, allocations: 27.14 kB / 4.2 GB, free: 29.3 MB / 0.6046 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005958/13.94, allocations: 0.6815 MB / 4.201 GB, free: 28.96 MB / 0.6046 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005028/13.94, allocations: 269.8 kB / 4.201 GB, free: 28.82 MB / 0.6046 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/13.94, allocations: 4 kB / 4.201 GB, free: 28.82 MB / 0.6046 GB Notification: Performance of setup shared object (initialization): time 0.0001854/13.94, allocations: 354.9 kB / 4.202 GB, free: 28.5 MB / 0.6046 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009248/13.94, allocations: 327.8 kB / 4.202 GB, free: 28.5 MB / 0.6046 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/13.94, allocations: 0.6935 MB / 4.203 GB, free: 28.05 MB / 0.6046 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/13.94, allocations: 433.1 kB / 4.203 GB, free: 28.03 MB / 0.6046 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.22e-05/13.94, allocations: 4.688 kB / 4.203 GB, free: 28.03 MB / 0.6046 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.006153/13.95, allocations: 1.371 MB / 4.204 GB, free: 27.91 MB / 0.6046 GB Notification: Performance of prepare postOptimizeDAE: time 0.002032/13.95, allocations: 4.614 MB / 4.209 GB, free: 23.07 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.236e-05/13.95, allocations: 17.78 kB / 4.209 GB, free: 23.06 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003351/13.95, allocations: 0.4952 MB / 4.209 GB, free: 23.03 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/13.95, allocations: 215.4 kB / 4.21 GB, free: 23.02 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006694/13.96, allocations: 2.892 MB / 4.212 GB, free: 20.93 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/13.96, allocations: 228.2 kB / 4.213 GB, free: 20.89 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004103/13.96, allocations: 77.67 kB / 4.213 GB, free: 20.89 MB / 0.6046 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/13.96, allocations: 6.812 kB / 4.213 GB, free: 20.89 MB / 0.6046 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007105/13.97, allocations: 1.224 MB / 4.214 GB, free: 20.82 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.534e-05/13.97, allocations: 10.53 kB / 4.214 GB, free: 20.82 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003858/13.98, allocations: 407.9 kB / 4.214 GB, free: 20.78 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/13.98, allocations: 238.4 kB / 4.214 GB, free: 20.78 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005439/13.98, allocations: 2.643 MB / 4.217 GB, free: 18.68 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/13.99, allocations: 194.7 kB / 4.217 GB, free: 18.65 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002688/13.99, allocations: 66.44 kB / 4.217 GB, free: 18.65 MB / 0.6046 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,Source.medium.phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,2 8,2 8,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004975/13.99, allocations: 148.2 kB / 4.217 GB, free: 18.55 MB / 0.6046 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004307/13.99, allocations: 0.949 MB / 4.218 GB, free: 18.4 MB / 0.6046 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005795/13.99, allocations: 113.5 kB / 4.218 GB, free: 18.35 MB / 0.6046 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007089/14, allocations: 3.002 MB / 4.221 GB, free: 18.05 MB / 0.6046 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.184e-05/14, allocations: 31.52 kB / 4.221 GB, free: 18.05 MB / 0.6046 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/14, allocations: 0 / 4.221 GB, free: 18.05 MB / 0.6046 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.86e-05/14, allocations: 6.469 kB / 4.221 GB, free: 18.05 MB / 0.6046 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009829/14.01, allocations: 4.722 MB / 4.226 GB, free: 17.23 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/14.01, allocations: 3.094 kB / 4.226 GB, free: 17.23 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006725/14.01, allocations: 92.38 kB / 4.226 GB, free: 17.23 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004238/14.01, allocations: 1.386 MB / 4.227 GB, free: 17.17 MB / 0.6046 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/14.01, allocations: 14.05 kB / 4.227 GB, free: 17.17 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005917/14.02, allocations: 4.064 MB / 4.231 GB, free: 15.02 MB / 0.6046 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/14.02, allocations: 192 / 4.231 GB, free: 15.02 MB / 0.6046 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004947/14.02, allocations: 2.379 MB / 4.234 GB, free: 14.66 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/14.03, allocations: 350.4 kB / 4.234 GB, free: 14.49 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/14.03, allocations: 7.594 kB / 4.234 GB, free: 14.49 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/14.03, allocations: 169 kB / 4.234 GB, free: 14.47 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/14.03, allocations: 75.33 kB / 4.234 GB, free: 14.47 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/14.03, allocations: 36.23 kB / 4.234 GB, free: 14.47 MB / 0.6046 GB Notification: Performance of sorting global known variables: time 0.001253/14.03, allocations: 0.5691 MB / 4.235 GB, free: 14.36 MB / 0.6046 GB Notification: Performance of sort global known variables: time 2.475e-06/14.03, allocations: 1.031 kB / 4.235 GB, free: 14.36 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.009603/14.04, allocations: 1.866 MB / 4.237 GB, free: 14.2 MB / 0.6046 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 10,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.018/14.06, allocations: 4.544 MB / 4.241 GB, free: 13.11 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.009378/14.07, allocations: 1.757 MB / 4.243 GB, free: 13.07 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/14.07, allocations: 5.031 kB / 4.243 GB, free: 13.07 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.00284/14.07, allocations: 0.765 MB / 4.244 GB, free: 13.04 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/14.07, allocations: 465.9 kB / 4.244 GB, free: 13.02 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/14.09, allocations: 2.745 MB / 4.247 GB, free: 12.34 MB / 0.6046 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/14.09, allocations: 1.336 MB / 4.248 GB, free: 11.61 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/14.09, allocations: 0.5788 MB / 4.249 GB, free: 11.6 MB / 0.6046 GB Notification: Performance of SimCode: time 1.463e-06/14.09, allocations: 0 / 4.249 GB, free: 11.6 MB / 0.6046 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.845/18.93, allocations: 75.93 MB / 4.323 GB, free: 123.9 MB / 0.6046 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat