Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001218/0.001218, allocations: 104.8 kB / 21.96 MB, free: 5.219 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.001318/0.001318, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 207.7 MB / 236.1 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 179] 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 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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 55.92 kB / 348 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2288, allocations: 49.15 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005185/0.234, allocations: 4.619 MB / 401.8 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.2363, allocations: 1.336 MB / 403.1 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.2367, allocations: 16.75 kB / 403.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.2371, allocations: 165.6 kB / 403.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005943/0.2377, allocations: 343.1 kB / 403.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.2381, allocations: 246.1 kB / 403.8 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.2391, allocations: 1.223 MB / 405.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.2394, allocations: 231.2 kB / 405.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004727/0.2399, allocations: 490.7 kB / 405.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005487/0.2405, allocations: 0.5279 MB / 406.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.2406, allocations: 107.5 kB / 406.4 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.2408, allocations: 110.8 kB / 406.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.241, allocations: 243.8 kB / 406.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.2414, allocations: 465 kB / 407.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.2425, allocations: 1.266 MB / 408.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2425, allocations: 2.031 kB / 408.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2425, allocations: 0 / 408.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.2425, allocations: 3.938 kB / 408.5 MB, free: 2.18 MB / 318.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.002224/0.2447, allocations: 1.338 MB / 409.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2448, allocations: 14.3 kB / 409.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.138e-05/0.2448, allocations: 22.89 kB / 409.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.245, allocations: 130.3 kB / 410 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.2452, allocations: 123.4 kB / 410.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008597/0.246, allocations: 0.5511 MB / 410.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.2462, allocations: 302.5 kB / 410.9 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.2463, allocations: 77.33 kB / 411 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.2481, allocations: 1.682 MB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.2481, allocations: 9.031 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/0.2482, allocations: 29.75 kB / 412.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.2482, allocations: 15.28 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.2497, allocations: 0.6559 MB / 413.4 MB, free: 14.42 MB / 334.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.003583/0.2532, allocations: 1.846 MB / 415.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.2548, allocations: 0.7593 MB / 416 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008498/0.2557, allocations: 422.5 kB / 416.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.616e-05/0.2557, allocations: 16.2 kB / 416.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.2558, allocations: 55.53 kB / 416.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 4.668e-06/0.2558, allocations: 3.984 kB / 416.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=140): time 0.01851/0.2743, allocations: 6.3 MB / 422.8 MB, free: 8.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008082/0.2824, allocations: 4.722 MB / 427.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.2834, allocations: 0.6685 MB / 428.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003534/0.2838, allocations: 53.7 kB / 428.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.2842, allocations: 354 kB / 428.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005244/0.2847, allocations: 0.4918 MB / 429.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004677/0.2852, allocations: 238.9 kB / 429.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.2853, allocations: 357.9 kB / 429.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.2869, allocations: 0.7572 MB / 430.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/0.2892, allocations: 1.835 MB / 432.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/0.2921, allocations: 1.494 MB / 433.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2921, allocations: 0 / 433.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.006216/0.2983, allocations: 2.48 MB / 436.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-05/0.2984, allocations: 89.11 kB / 436.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.2984, allocations: 4 kB / 436.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002648/0.301, allocations: 0.7482 MB / 437.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.3021, allocations: 239.6 kB / 437.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/0.3193, allocations: 13.35 MB / 450.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.3214, allocations: 191.8 kB / 450.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.3215, allocations: 52.02 kB / 450.9 MB, free: 11.07 MB / 366.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.000534/0.322, allocations: 261.6 kB / 451.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.3223, allocations: 115.3 kB / 451.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.3225, allocations: 126.8 kB / 451.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005915/0.3284, allocations: 2.213 MB / 453.6 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.3284, allocations: 8 kB / 453.6 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005889/0.3343, allocations: 2.57 MB / 456.2 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.3444, allocations: 4.192 MB / 460.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3444, allocations: 0 / 460.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.3454, allocations: 223.7 kB / 460.6 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003801/0.3492, allocations: 1.129 MB / 461.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/0.3494, allocations: 35.97 kB / 461.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01871/0.3681, allocations: 12.61 MB / 474.4 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007015/0.3751, allocations: 3.654 MB / 478 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008327/0.3834, allocations: 3.438 MB / 481.4 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008226/0.3842, allocations: 283.1 kB / 481.7 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.3844, allocations: 31.94 kB / 481.8 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.3857, allocations: 124 kB / 481.9 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004425/0.3861, allocations: 149 kB / 482 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.3862, allocations: 43.89 kB / 482.1 MB, free: 10.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006155/0.3868, allocations: 479 kB / 482.5 MB, free: 10.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3868, allocations: 0 / 482.5 MB, free: 10.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00173/0.3886, allocations: 0.5938 MB / 483.1 MB, free: 9.723 MB / 398.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.008416/0.397, allocations: 4.029 MB / 487.2 MB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005017/0.402, allocations: 2.858 MB / 490 MB, free: 2.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.402, allocations: 0 / 490 MB, free: 2.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003838/0.4058, allocations: 1.842 MB / 491.9 MB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.4072, allocations: 263.1 kB / 492.1 MB, free: 460 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02426/0.4315, allocations: 12.58 MB / 0.4929 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.4321, allocations: 491 kB / 0.4933 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007902/0.4329, allocations: 156.9 kB / 0.4935 GB, free: 2.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007567/0.4336, allocations: 423.2 kB / 0.4939 GB, free: 2.441 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4336, allocations: 0 / 0.4939 GB, free: 2.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09922/0.5329, allocations: 44.13 MB / 0.537 GB, free: 6.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.36, allocations: 8 kB / 0.537 GB, free: 6.082 MB / 462.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.615492086973973] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 15.562866240972653 15.589717862 15.342212199 Calling exit ...