Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 214.7 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.352/1.352, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 51.91 kB / 378.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2157, allocations: 53.36 MB / 431.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006014/0.2217, allocations: 4.667 MB / 436.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.2238, allocations: 1.316 MB / 437.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.2241, allocations: 11.94 kB / 437.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.2245, allocations: 166.5 kB / 438 MB, free: 488 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005983/0.2251, allocations: 349.1 kB / 438.4 MB, free: 136 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.2255, allocations: 243.6 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.2267, allocations: 1.219 MB / 439.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003656/0.2271, allocations: 242.7 kB / 440 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004867/0.2276, allocations: 486.3 kB / 440.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.2282, allocations: 0.5252 MB / 441 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.2283, allocations: 112 kB / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.2285, allocations: 108 kB / 441.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.2287, allocations: 239.2 kB / 441.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004597/0.2292, allocations: 466 kB / 442 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.2304, allocations: 1.268 MB / 443.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2304, allocations: 0 / 443.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2304, allocations: 4 kB / 443.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.2304, allocations: 0 / 443.2 MB, free: 11.23 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002397/0.2328, allocations: 1.337 MB / 444.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2328, allocations: 12.03 kB / 444.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.255e-05/0.2329, allocations: 25.48 kB / 444.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.2331, allocations: 127.9 kB / 444.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.2333, allocations: 128.2 kB / 444.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/0.2342, allocations: 0.5428 MB / 445.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002848/0.2345, allocations: 309.2 kB / 445.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.2346, allocations: 76.08 kB / 445.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.2366, allocations: 1.675 MB / 447.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.2366, allocations: 4 kB / 447.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.2367, allocations: 31.94 kB / 447.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.2367, allocations: 19.98 kB / 447.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.2382, allocations: 0.6531 MB / 448.1 MB, free: 5.875 MB / 350.1 MB 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.003489/0.2417, allocations: 1.85 MB / 450 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.2433, allocations: 0.7679 MB / 450.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008491/0.2441, allocations: 414.2 kB / 451.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.042e-05/0.2442, allocations: 20.98 kB / 451.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.2442, allocations: 55.5 kB / 451.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.535e-06/0.2442, allocations: 0 / 451.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01837/0.2626, allocations: 6.304 MB / 457.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007793/0.2704, allocations: 4.713 MB / 462.3 MB, free: 7.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009251/0.2713, allocations: 0.6802 MB / 462.9 MB, free: 6.641 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002069/0.2715, allocations: 49.7 kB / 463 MB, free: 6.586 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.2718, allocations: 350.1 kB / 463.3 MB, free: 6.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00048/0.2723, allocations: 0.4957 MB / 463.8 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004421/0.2727, allocations: 242.9 kB / 464.1 MB, free: 5.496 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2729, allocations: 353.9 kB / 464.4 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.2744, allocations: 0.7611 MB / 465.2 MB, free: 4.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.2765, allocations: 1.827 MB / 467 MB, free: 2.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/0.2794, allocations: 1.494 MB / 468.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2794, allocations: 0 / 468.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.006221/0.2857, allocations: 2.476 MB / 471 MB, free: 14.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.2857, allocations: 85.11 kB / 471.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.2857, allocations: 4 kB / 471.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/0.2883, allocations: 0.7404 MB / 471.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.2894, allocations: 235.7 kB / 472 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/0.3059, allocations: 13.36 MB / 485.4 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.3078, allocations: 191.8 kB / 485.6 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.3079, allocations: 47.95 kB / 485.6 MB, free: 14.55 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 106 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,3,88.9%), (1,3,100.0%), (1,7,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (3,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004813/0.3084, allocations: 269.6 kB / 485.9 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.3086, allocations: 119.3 kB / 486 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.3088, allocations: 126.8 kB / 486.1 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005839/0.3147, allocations: 2.212 MB / 488.3 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3147, allocations: 4 kB / 488.3 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005763/0.3205, allocations: 2.57 MB / 490.9 MB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009607/0.3301, allocations: 4.184 MB / 495.1 MB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.3301, allocations: 0 / 495.1 MB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.3311, allocations: 227.7 kB / 495.3 MB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003694/0.3348, allocations: 1.136 MB / 496.5 MB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.3349, allocations: 31.95 kB / 496.5 MB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/0.3539, allocations: 12.61 MB / 0.4972 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007302/0.3612, allocations: 3.647 MB / 0.5007 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00821/0.3694, allocations: 3.438 MB / 0.5041 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007201/0.3701, allocations: 267.2 kB / 0.5043 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.3703, allocations: 31.94 kB / 0.5044 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.3716, allocations: 131.8 kB / 0.5045 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000422/0.372, allocations: 145 kB / 0.5046 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.3721, allocations: 43.95 kB / 0.5047 GB, free: 14.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006051/0.3727, allocations: 475 kB / 0.5051 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3727, allocations: 0 / 0.5051 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00165/0.3744, allocations: 0.5898 MB / 0.5057 GB, free: 13.23 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,3,100.0%), (3,3,88.9%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,15), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008307/0.3827, allocations: 4.04 MB / 0.5096 GB, free: 9.137 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004729/0.3874, allocations: 2.855 MB / 0.5124 GB, free: 6.121 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.3874, allocations: 0 / 0.5124 GB, free: 6.121 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003846/0.3912, allocations: 1.858 MB / 0.5143 GB, free: 4.188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.3925, allocations: 251 kB / 0.5145 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/0.4163, allocations: 12.6 MB / 0.5268 GB, free: 7.012 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.4169, allocations: 487.6 kB / 0.5273 GB, free: 6.504 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007799/0.4177, allocations: 152.9 kB / 0.5274 GB, free: 6.352 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000719/0.4184, allocations: 423.2 kB / 0.5278 GB, free: 5.938 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4184, allocations: 0 / 0.5278 GB, free: 5.938 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2571/0.6755, allocations: 44.13 MB / 0.5709 GB, free: 109.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.4, allocations: 20.55 kB / 0.5709 GB, free: 109.7 MB / 462.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.738879471900873] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 15.608540373970754 15.617069777 15.384740251 Calling exit ...