Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 101.5 kB / 21.21 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 185.3 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 39.94 kB / 371.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.23, allocations: 52.19 MB / 423.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005883/0.2359, allocations: 4.651 MB / 428 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.2378, allocations: 1.273 MB / 429.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.2381, allocations: 11.94 kB / 429.3 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.2385, allocations: 166.5 kB / 429.5 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000619/0.2391, allocations: 353.1 kB / 429.8 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.2395, allocations: 235.6 kB / 430 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.2408, allocations: 1.234 MB / 431.3 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004451/0.2412, allocations: 238.7 kB / 431.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.2417, allocations: 486.3 kB / 432 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006154/0.2423, allocations: 0.5291 MB / 432.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.2425, allocations: 108 kB / 432.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.2427, allocations: 116 kB / 432.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.2429, allocations: 227.2 kB / 432.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004797/0.2434, allocations: 474 kB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.2446, allocations: 1.265 MB / 434.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2446, allocations: 0 / 434.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2446, allocations: 0 / 434.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.2446, allocations: 0 / 434.7 MB, free: 3.031 MB / 334.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.002439/0.247, allocations: 1.339 MB / 436 MB, free: 1.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2471, allocations: 12.03 kB / 436 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.574e-05/0.2471, allocations: 21.48 kB / 436 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001877/0.2473, allocations: 143.8 kB / 436.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.2475, allocations: 120.2 kB / 436.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009763/0.2485, allocations: 0.5506 MB / 436.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002842/0.2487, allocations: 309.2 kB / 437.2 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.2489, allocations: 68.12 kB / 437.2 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.2509, allocations: 1.686 MB / 438.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.2509, allocations: 3.953 kB / 438.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/0.251, allocations: 36 kB / 438.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.251, allocations: 16 kB / 439 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.2525, allocations: 0.6492 MB / 439.6 MB, free: 13.66 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.003746/0.2562, allocations: 1.846 MB / 441.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.2579, allocations: 0.7581 MB / 442.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008577/0.2587, allocations: 422.2 kB / 442.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.957e-05/0.2588, allocations: 13 kB / 442.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.2588, allocations: 51.5 kB / 442.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 3.286e-06/0.2588, allocations: 4 kB / 442.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01856/0.2774, allocations: 6.316 MB / 449 MB, free: 4.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007904/0.2853, allocations: 4.712 MB / 453.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008521/0.2861, allocations: 0.6607 MB / 454.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.2863, allocations: 61.69 kB / 454.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.2866, allocations: 358 kB / 454.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/0.2871, allocations: 499.6 kB / 455.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004459/0.2875, allocations: 238.9 kB / 455.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.2877, allocations: 357.9 kB / 455.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.2892, allocations: 0.7572 MB / 456.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.2914, allocations: 1.831 MB / 458.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.2943, allocations: 1.49 MB / 459.9 MB, free: 8.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2943, allocations: 4 kB / 459.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.006085/0.3004, allocations: 2.476 MB / 462.4 MB, free: 5.957 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.407e-05/0.3004, allocations: 89.09 kB / 462.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3004, allocations: 0 / 462.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/0.303, allocations: 0.7481 MB / 463.3 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.3041, allocations: 247.6 kB / 463.5 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/0.3209, allocations: 13.33 MB / 476.8 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.3227, allocations: 199.8 kB / 477 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.3228, allocations: 51.89 kB / 477.1 MB, free: 6.336 MB / 382.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.0004796/0.3233, allocations: 261.6 kB / 477.3 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.3235, allocations: 115.3 kB / 477.4 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.3238, allocations: 127 kB / 477.6 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005899/0.3296, allocations: 2.217 MB / 479.8 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.3297, allocations: 4 kB / 479.8 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005828/0.3355, allocations: 2.574 MB / 482.4 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009607/0.3451, allocations: 4.172 MB / 486.5 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3451, allocations: 4 kB / 486.5 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000995/0.3461, allocations: 219.6 kB / 486.8 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00369/0.3498, allocations: 1.143 MB / 487.9 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.3499, allocations: 35.97 kB / 487.9 MB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/0.3685, allocations: 12.62 MB / 0.4888 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006856/0.3754, allocations: 3.639 MB / 0.4924 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008077/0.3834, allocations: 3.438 MB / 0.4957 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006769/0.3841, allocations: 267.2 kB / 0.496 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.3843, allocations: 39.92 kB / 0.496 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.3855, allocations: 127.8 kB / 0.4961 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004322/0.386, allocations: 145 kB / 0.4963 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.3861, allocations: 39.97 kB / 0.4963 GB, free: 6.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006104/0.3867, allocations: 483 kB / 0.4968 GB, free: 5.605 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3867, allocations: 4 kB / 0.4968 GB, free: 5.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001669/0.3883, allocations: 0.5939 MB / 0.4974 GB, free: 5.008 MB / 414.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.008361/0.3967, allocations: 4.032 MB / 0.5013 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004761/0.4015, allocations: 2.862 MB / 0.5041 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.974e-06/0.4015, allocations: 4 kB / 0.5041 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003781/0.4053, allocations: 1.842 MB / 0.5059 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.4065, allocations: 254.9 kB / 0.5061 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/0.4306, allocations: 12.6 MB / 0.5184 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.4312, allocations: 487.1 kB / 0.5189 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000728/0.4319, allocations: 156.9 kB / 0.5191 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/0.4326, allocations: 427.2 kB / 0.5195 GB, free: 13.72 MB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4326, allocations: 0 / 0.5195 GB, free: 13.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2665/0.6991, allocations: 44.13 MB / 0.5626 GB, free: 124.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/15.56, allocations: 6.469 kB / 0.5626 GB, free: 124.3 MB / 462.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.926549964002334] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 15.75048639101442 15.759499688 15.512778537 Calling exit ...