Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.00119/0.00119, allocations: 105.5 kB / 21.96 MB, free: 4.699 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.001277/0.001277, allocations: 214 kB / 25.25 MB, free: 2.879 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.268/1.268, allocations: 207.7 MB / 236.1 MB, free: 9.801 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.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",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.001595/0.001595, allocations: 62.52 kB / 348 MB, free: 9.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.237, allocations: 49.15 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003774/0.2407, allocations: 3.418 MB / 400.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.242, allocations: 0.9942 MB / 401.5 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.2422, allocations: 9.656 kB / 401.5 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.2424, allocations: 106.8 kB / 401.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.2427, allocations: 206.8 kB / 401.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.243, allocations: 140.8 kB / 402 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005688/0.2435, allocations: 0.7079 MB / 402.7 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.2437, allocations: 143.6 kB / 402.8 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.244, allocations: 269.4 kB / 403.1 MB, free: 5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.2443, allocations: 315.1 kB / 403.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.001e-05/0.2443, allocations: 59.22 kB / 403.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.2444, allocations: 60.56 kB / 403.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.234e-05/0.2445, allocations: 126.9 kB / 403.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.2447, allocations: 274.1 kB / 403.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005694/0.2453, allocations: 0.7232 MB / 404.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2453, allocations: 0 / 404.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2453, allocations: 0 / 404.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2453, allocations: 1.406 kB / 404.6 MB, free: 4.32 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001252/0.2466, allocations: 0.8584 MB / 405.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2466, allocations: 13.88 kB / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.434e-05/0.2466, allocations: 11.7 kB / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.898e-05/0.2467, allocations: 88.84 kB / 405.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.608e-05/0.2468, allocations: 72.19 kB / 405.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.2474, allocations: 384.2 kB / 406.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.563e-05/0.2475, allocations: 113.2 kB / 406.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.2475, allocations: 45.28 kB / 406.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008074/0.2484, allocations: 0.8926 MB / 407.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2484, allocations: 6.359 kB / 407.1 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.2484, allocations: 16.28 kB / 407.1 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2484, allocations: 9.531 kB / 407.1 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.2492, allocations: 365.9 kB / 407.5 MB, free: 2.301 MB / 318.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.001812/0.251, allocations: 1.127 MB / 408.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/0.2517, allocations: 359 kB / 409 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.252, allocations: 195.1 kB / 409.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.252, allocations: 6.906 kB / 409.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.2521, allocations: 40.06 kB / 409.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/0.2521, allocations: 0 / 409.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.006776/0.2588, allocations: 2.714 MB / 411.9 MB, free: 188 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002329/0.2612, allocations: 2.342 MB / 414.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.2617, allocations: 481.7 kB / 414.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.2618, allocations: 38.92 kB / 414.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.262, allocations: 260.3 kB / 415 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.2622, allocations: 227.9 kB / 415.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.2624, allocations: 113.1 kB / 415.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.2626, allocations: 363.4 kB / 415.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006782/0.2632, allocations: 314.9 kB / 416 MB, free: 12.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.2643, allocations: 0.8534 MB / 416.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.2657, allocations: 0.6264 MB / 417.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2657, allocations: 0 / 417.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001982/0.2677, allocations: 0.9357 MB / 418.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.2677, allocations: 31.17 kB / 418.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2677, allocations: 5.625 kB / 418.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/0.2681, allocations: 174.6 kB / 418.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/0.2687, allocations: 146.1 kB / 418.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005373/0.2741, allocations: 5.661 MB / 424.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/0.2748, allocations: 59.97 kB / 424.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.2749, allocations: 25.02 kB / 424.5 MB, free: 5.039 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,1,88.9%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002999/0.2752, allocations: 194.3 kB / 424.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.2753, allocations: 64.2 kB / 424.8 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.2754, allocations: 71.23 kB / 424.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.2754, allocations: 10.05 kB / 424.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.2754, allocations: 1.344 kB / 424.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002059/0.2775, allocations: 1.196 MB / 426.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/0.2808, allocations: 1.683 MB / 427.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2808, allocations: 0 / 427.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.2814, allocations: 128.4 kB / 427.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/0.2819, allocations: 214.7 kB / 428.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/0.2819, allocations: 15.36 kB / 428.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005128/0.287, allocations: 4.806 MB / 432.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001533/0.2886, allocations: 1.619 MB / 434.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/0.2916, allocations: 1.352 MB / 435.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.292, allocations: 139.6 kB / 436 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.2921, allocations: 16 kB / 436 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/0.2927, allocations: 55.88 kB / 436.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.2929, allocations: 56.55 kB / 436.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.2929, allocations: 15.98 kB / 436.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000442/0.2934, allocations: 342.9 kB / 436.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2934, allocations: 0 / 436.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007092/0.2941, allocations: 208 kB / 436.7 MB, free: 9.609 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 ($STATESET1.x,heatCapacitor.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 (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,1,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00326/0.2973, allocations: 1.916 MB / 438.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002315/0.2996, allocations: 1.228 MB / 439.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2996, allocations: 0 / 439.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.301, allocations: 0.7261 MB / 440.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007511/0.3018, allocations: 145.8 kB / 440.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.312, allocations: 6.31 MB / 447 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.3122, allocations: 273.6 kB / 447.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003084/0.3125, allocations: 81.03 kB / 447.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.3129, allocations: 211.4 kB / 447.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3129, allocations: 0 / 447.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05556/0.3684, allocations: 20.03 MB / 467.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/13.77, allocations: 8.016 kB / 467.6 MB, free: 10.26 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.923979763058014] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.943471306934953 13.957996353 13.709780319 Calling exit ...