Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002068/0.002068, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.492/1.492, allocations: 230.4 MB / 254.7 MB, free: 15.01 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.89 kB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1093, allocations: 53.32 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.0051/0.1144, allocations: 3.78 MB / 430.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1164, allocations: 1.032 MB / 431.7 MB, free: 36 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.1166, allocations: 8 kB / 431.7 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2081/0.3247, allocations: 111.5 kB / 431.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006811/0.3254, allocations: 210.7 kB / 432 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.3258, allocations: 136.6 kB / 432.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008104/0.3266, allocations: 0.7074 MB / 432.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.3269, allocations: 144.8 kB / 433 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.3272, allocations: 268.9 kB / 433.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.3275, allocations: 301.4 kB / 433.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-05/0.3276, allocations: 60.78 kB / 433.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.3276, allocations: 61.91 kB / 433.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.3277, allocations: 134.2 kB / 433.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.328, allocations: 320.6 kB / 434.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006779/0.3286, allocations: 0.7202 MB / 434.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3286, allocations: 0 / 434.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3286, allocations: 0 / 434.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.3287, allocations: 0 / 434.8 MB, free: 7.199 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.001523/0.3302, allocations: 0.9366 MB / 435.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3302, allocations: 9.5 kB / 435.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.3303, allocations: 79.77 kB / 435.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.3304, allocations: 70.91 kB / 435.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007365/0.3312, allocations: 449.3 kB / 436.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/0.3313, allocations: 62.75 kB / 436.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.3313, allocations: 33.53 kB / 436.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007935/0.3321, allocations: 0.5049 MB / 437 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.3321, allocations: 1.094 kB / 437 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.3322, allocations: 20.69 kB / 437 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.3322, allocations: 9.344 kB / 437 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/0.333, allocations: 360.4 kB / 437.3 MB, free: 6.012 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.002013/0.335, allocations: 1.352 MB / 438.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008422/0.3358, allocations: 444.5 kB / 439.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003926/0.3362, allocations: 177.3 kB / 439.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.3363, allocations: 7.031 kB / 439.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3363, allocations: 49.78 kB / 439.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.904e-06/0.3363, allocations: 0 / 439.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001637/0.3379, allocations: 0.7355 MB / 440.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.3381, allocations: 448.3 kB / 440.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.3387, allocations: 477.6 kB / 441 MB, free: 3.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.3388, allocations: 32.61 kB / 441 MB, free: 3.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.3389, allocations: 256.5 kB / 441.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.339, allocations: 136.1 kB / 441.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.3392, allocations: 77.78 kB / 441.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3393, allocations: 357.4 kB / 441.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.3397, allocations: 145.4 kB / 442 MB, free: 3.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.3402, allocations: 290.5 kB / 442.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007707/0.341, allocations: 353.8 kB / 442.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.341, allocations: 3.938 kB / 442.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001092/0.3421, allocations: 493.1 kB / 443.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.3421, allocations: 36.33 kB / 443.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3422, allocations: 1 kB / 443.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.3423, allocations: 56.77 kB / 443.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.3428, allocations: 92.53 kB / 443.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.3452, allocations: 2.957 MB / 446.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006064/0.3458, allocations: 54.31 kB / 446.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.3458, allocations: 13.95 kB / 446.3 MB, free: 15.38 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003112/0.3461, allocations: 170.8 kB / 446.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/0.3462, allocations: 55.98 kB / 446.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.3464, allocations: 64.05 kB / 446.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3464, allocations: 3.875 kB / 446.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3464, allocations: 2.906 kB / 446.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009953/0.3474, allocations: 0.7422 MB / 447.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.3493, allocations: 1.054 MB / 448.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3493, allocations: 0.6562 kB / 448.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/0.3498, allocations: 93.16 kB / 448.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3498, allocations: 5.156 kB / 448.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.3498, allocations: 7.062 kB / 448.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3498, allocations: 6.203 kB / 448.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3498, allocations: 1.875 kB / 448.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.3512, allocations: 0.6755 MB / 449.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.3514, allocations: 168.5 kB / 449.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/0.3515, allocations: 12.66 kB / 449.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.3519, allocations: 27 kB / 449.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.3519, allocations: 23.41 kB / 449.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.352, allocations: 11.53 kB / 449.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004213/0.3524, allocations: 342.2 kB / 449.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3524, allocations: 8 kB / 449.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005219/0.3529, allocations: 143.9 kB / 449.9 MB, free: 13.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001651/0.3546, allocations: 1.227 MB / 451.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.3558, allocations: 0.6371 MB / 451.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3558, allocations: 1.188 kB / 451.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.3562, allocations: 176.2 kB / 451.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006986/0.3569, allocations: 145.7 kB / 452.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007213/0.3642, allocations: 4.667 MB / 456.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.3646, allocations: 0.8416 MB / 457.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.365, allocations: 66.94 kB / 457.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.3653, allocations: 181.7 kB / 457.8 MB, free: 8.363 MB / 366.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3653, allocations: 3.938 kB / 457.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04719/0.4125, allocations: 14.11 MB / 471.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.8, allocations: 14.72 kB / 471.9 MB, free: 1.918 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.204116072040051] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 12.903961087111384 12.917937183 12.586422611 Calling exit ...