Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001275/0.001275, allocations: 113 kB / 18.49 MB, free: 4.598 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.001352/0.001352, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.356/1.356, allocations: 230.6 MB / 254.8 MB, free: 15.12 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.PumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 43.94 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.09062, allocations: 53.33 MB / 427 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004875/0.0955, allocations: 3.79 MB / 430.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1602/0.2557, allocations: 1.027 MB / 431.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004208/0.2561, allocations: 12.06 kB / 431.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.2565, allocations: 109.6 kB / 431.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.2568, allocations: 207.5 kB / 432.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.2571, allocations: 137.2 kB / 432.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006049/0.2577, allocations: 0.7014 MB / 433 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.2579, allocations: 143.2 kB / 433.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.2581, allocations: 274.3 kB / 433.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.2584, allocations: 314.4 kB / 433.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.595e-05/0.2585, allocations: 60.44 kB / 433.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.373e-05/0.2586, allocations: 59.62 kB / 433.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.855e-05/0.2586, allocations: 125.2 kB / 433.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.2588, allocations: 328 kB / 434.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.2593, allocations: 0.7167 MB / 435 MB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2594, allocations: 0 / 435 MB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2594, allocations: 0 / 435 MB, free: 7.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.2594, allocations: 0.8125 kB / 435 MB, free: 7.109 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001282/0.2606, allocations: 0.9326 MB / 435.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.2607, allocations: 9.781 kB / 435.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.472e-05/0.2607, allocations: 14.56 kB / 435.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.41e-05/0.2608, allocations: 91.22 kB / 436 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.2609, allocations: 71.36 kB / 436.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.2615, allocations: 450.3 kB / 436.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.254e-05/0.2616, allocations: 62.47 kB / 436.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.2617, allocations: 36.91 kB / 436.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007634/0.2624, allocations: 0.5183 MB / 437.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2624, allocations: 1.594 kB / 437.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.2625, allocations: 17.31 kB / 437.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.2625, allocations: 8.156 kB / 437.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007906/0.2633, allocations: 365.4 kB / 437.5 MB, free: 5.914 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.001856/0.2651, allocations: 1.411 MB / 438.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007432/0.2659, allocations: 439.2 kB / 439.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003935/0.2663, allocations: 189.7 kB / 439.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.2663, allocations: 5.906 kB / 439.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.2663, allocations: 49.69 kB / 439.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.774e-06/0.2663, allocations: 0 / 439.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.007334/0.2736, allocations: 2.947 MB / 442.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001738/0.2754, allocations: 2.458 MB / 445 MB, free: 1.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.2759, allocations: 480.6 kB / 445.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.2759, allocations: 37.98 kB / 445.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.276, allocations: 250.4 kB / 445.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.2762, allocations: 226.2 kB / 446 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.2763, allocations: 113.1 kB / 446.1 MB, free: 492 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.015e-05/0.2764, allocations: 374.3 kB / 446.5 MB, free: 140 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006405/0.2771, allocations: 281 kB / 446.7 MB, free: 44 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009162/0.278, allocations: 463.4 kB / 447.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.2793, allocations: 0.621 MB / 447.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2793, allocations: 0 / 447.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001985/0.2813, allocations: 0.9108 MB / 448.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.2814, allocations: 32.42 kB / 448.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2814, allocations: 0 / 448.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/0.2818, allocations: 174.3 kB / 448.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/0.2824, allocations: 147.1 kB / 449.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005389/0.2878, allocations: 6.105 MB / 455.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006755/0.2885, allocations: 58.42 kB / 455.2 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.2885, allocations: 24.25 kB / 455.2 MB, free: 9.043 MB / 366.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.0002705/0.2888, allocations: 194 kB / 455.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.2889, allocations: 63.31 kB / 455.5 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.2891, allocations: 75.27 kB / 455.6 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2891, allocations: 5.812 kB / 455.6 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.2891, allocations: 2.641 kB / 455.6 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002114/0.2912, allocations: 1.199 MB / 456.8 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.2947, allocations: 1.861 MB / 458.6 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2947, allocations: 5.625 kB / 458.6 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/0.2953, allocations: 126.3 kB / 458.8 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/0.2957, allocations: 216.3 kB / 459 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.2958, allocations: 12.52 kB / 459 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005201/0.301, allocations: 5.155 MB / 464.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001475/0.3025, allocations: 1.741 MB / 465.9 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.3055, allocations: 1.365 MB / 467.3 MB, free: 0 / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.3058, allocations: 209.2 kB / 467.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.046e-05/0.3059, allocations: 18.19 kB / 467.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.3065, allocations: 48.86 kB / 467.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.3067, allocations: 60.14 kB / 467.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.3067, allocations: 16.94 kB / 467.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004194/0.3071, allocations: 338.2 kB / 467.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3071, allocations: 4.062 kB / 467.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006921/0.3078, allocations: 209.6 kB / 468.1 MB, free: 15.6 MB / 382.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.003334/0.3111, allocations: 1.91 MB / 470.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.3135, allocations: 1.199 MB / 471.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3135, allocations: 2 kB / 471.3 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.3149, allocations: 0.7301 MB / 472 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.3156, allocations: 163 kB / 472.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009813/0.3254, allocations: 6.183 MB / 478.3 MB, free: 8.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.3259, allocations: 0.874 MB / 479.2 MB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003166/0.3262, allocations: 83.31 kB / 479.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.3266, allocations: 215.6 kB / 479.5 MB, free: 7.953 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3266, allocations: 0 / 479.5 MB, free: 7.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05215/0.3787, allocations: 18.41 MB / 497.9 MB, free: 6.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.96, allocations: 15.92 kB / 497.9 MB, free: 6.977 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.192646062001586] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.11050350801088 13.123772732 12.861443044 Calling exit ...