Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_3_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.001421/0.00142, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009284/0.0009282, allocations: 83.89 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2753/0.2753, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.257e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1652, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.994/8.159, allocations: 2.764 GB / 3.23 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003706/8.16, allocations: 85.86 kB / 3.23 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.932/11.09, allocations: 0.8114 GB / 4.041 GB, free: 50.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.312e-06/11.09, allocations: 0.6562 kB / 4.041 GB, free: 50.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.6e-05/11.09, allocations: 39.19 kB / 4.041 GB, free: 50.43 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.009658/11.1, allocations: 2.591 MB / 4.044 GB, free: 49.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/11.1, allocations: 8.625 kB / 4.044 GB, free: 49.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/11.1, allocations: 462.2 kB / 4.044 GB, free: 49.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/11.11, allocations: 0.9939 MB / 4.045 GB, free: 48.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.249e-05/11.11, allocations: 52.67 kB / 4.045 GB, free: 48.99 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/11.11, allocations: 71.97 kB / 4.045 GB, free: 48.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001846/11.11, allocations: 1.154 MB / 4.046 GB, free: 48.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/11.11, allocations: 1.396 MB / 4.048 GB, free: 48.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/11.11, allocations: 9.156 kB / 4.048 GB, free: 48.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/11.11, allocations: 9.297 kB / 4.048 GB, free: 48.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/11.11, allocations: 57.69 kB / 4.048 GB, free: 48.61 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.2644/11.38, allocations: 144.7 MB / 4.189 GB, free: 21.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008545/11.38, allocations: 0.5698 MB / 4.19 GB, free: 21 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/11.38, allocations: 354.3 kB / 4.19 GB, free: 21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0157/11.39, allocations: 8.18 MB / 4.198 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/11.39, allocations: 41.38 kB / 4.198 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=81): time 2.434e-06/11.39, allocations: 4 kB / 4.198 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=81): time 0.004719/11.4, allocations: 1.462 MB / 4.199 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/11.4, allocations: 118.3 kB / 4.2 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/11.4, allocations: 0.6915 MB / 4.2 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/11.4, allocations: 29.36 kB / 4.2 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/11.4, allocations: 0.6615 MB / 4.201 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/11.4, allocations: 275.2 kB / 4.201 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/11.4, allocations: 4 kB / 4.201 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001566/11.4, allocations: 352.8 kB / 4.202 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/11.4, allocations: 327 kB / 4.202 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/11.4, allocations: 0.6896 MB / 4.203 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/11.4, allocations: 443 kB / 4.203 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/11.4, allocations: 3.406 kB / 4.203 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003519/11.41, allocations: 1.427 MB / 4.204 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.003134/11.41, allocations: 4.608 MB / 4.209 GB, free: 24.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.054e-05/11.41, allocations: 14.53 kB / 4.209 GB, free: 24.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/11.41, allocations: 0.4993 MB / 4.209 GB, free: 24.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/11.41, allocations: 221.6 kB / 4.21 GB, free: 24.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004009/11.42, allocations: 2.885 MB / 4.212 GB, free: 22.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/11.42, allocations: 235.1 kB / 4.213 GB, free: 22.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/11.42, allocations: 75.58 kB / 4.213 GB, free: 22.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/11.42, allocations: 4 kB / 4.213 GB, free: 22.35 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003771/11.42, allocations: 1.218 MB / 4.214 GB, free: 21.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/11.42, allocations: 12 kB / 4.214 GB, free: 21.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/11.42, allocations: 459.9 kB / 4.214 GB, free: 21.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000842/11.43, allocations: 240.1 kB / 4.215 GB, free: 21.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/11.43, allocations: 2.653 MB / 4.217 GB, free: 18.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/11.43, allocations: 197.1 kB / 4.217 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/11.43, allocations: 64.66 kB / 4.217 GB, free: 18.56 MB / 0.6042 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.0004287/11.43, allocations: 145.2 kB / 4.218 GB, free: 18.43 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002333/11.43, allocations: 0.9469 MB / 4.218 GB, free: 17.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/11.43, allocations: 110.7 kB / 4.219 GB, free: 17.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/11.44, allocations: 2.992 MB / 4.221 GB, free: 16.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.86e-05/11.44, allocations: 28.83 kB / 4.222 GB, free: 16.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/11.44, allocations: 1.875 kB / 4.222 GB, free: 16.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/11.44, allocations: 7.422 kB / 4.222 GB, free: 16.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005567/11.44, allocations: 4.723 MB / 4.226 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/11.44, allocations: 0 / 4.226 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/11.44, allocations: 90.48 kB / 4.226 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002324/11.45, allocations: 1.391 MB / 4.228 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/11.45, allocations: 14.58 kB / 4.228 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003757/11.45, allocations: 4.067 MB / 4.232 GB, free: 9.594 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/11.45, allocations: 0 / 4.232 GB, free: 9.594 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/11.45, allocations: 2.385 MB / 4.234 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008492/11.45, allocations: 348.9 kB / 4.234 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/11.45, allocations: 0 / 4.234 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/11.45, allocations: 172.8 kB / 4.234 GB, free: 7.801 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/11.46, allocations: 73.2 kB / 4.234 GB, free: 7.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/11.46, allocations: 39.83 kB / 4.235 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007495/11.46, allocations: 0.5673 MB / 4.235 GB, free: 7.379 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/11.46, allocations: 0 / 4.235 GB, free: 7.379 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.008452/11.46, allocations: 1.868 MB / 4.237 GB, free: 5.633 MB / 0.6042 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.01307/11.48, allocations: 4.542 MB / 4.241 GB, free: 2.305 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00589/11.48, allocations: 1.784 MB / 4.243 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/11.48, allocations: 0 / 4.243 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001637/11.49, allocations: 0.7745 MB / 4.244 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/11.49, allocations: 462.7 kB / 4.244 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3575/11.85, allocations: 2.715 MB / 4.247 GB, free: 126.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009285/11.85, allocations: 1.343 MB / 4.248 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002295/11.85, allocations: 1.121 MB / 4.249 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/11.85, allocations: 0.5578 MB / 4.25 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of SimCode: time 8.12e-07/11.85, allocations: 0 / 4.25 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/11.97, allocations: 67.5 MB / 4.316 GB, free: 123 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/11.97, allocations: 201.1 kB / 4.316 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.535/16.51, allocations: 0 / 4.316 GB, free: 122.8 MB / 0.6042 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat