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.001716/0.001716, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.002199/0.002199, allocations: 205 kB / 21.45 MB, free: 1.629 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.494/1.494, allocations: 230.5 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-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.002075/0.002075, allocations: 67.84 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1088, allocations: 53.34 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.007087/0.1159, allocations: 3.772 MB / 430.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2244/0.3403, allocations: 1.03 MB / 431.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005686/0.3408, allocations: 7.625 kB / 431.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.3412, allocations: 112.5 kB / 431.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.3417, allocations: 205.8 kB / 432.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.3421, allocations: 138.4 kB / 432.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008174/0.3429, allocations: 0.7004 MB / 433 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.3431, allocations: 145.3 kB / 433.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.3435, allocations: 277.7 kB / 433.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.3438, allocations: 311.9 kB / 433.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.144e-05/0.3439, allocations: 57.28 kB / 433.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.643e-05/0.344, allocations: 61.25 kB / 433.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.295e-05/0.3441, allocations: 132.1 kB / 433.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.3443, allocations: 320.3 kB / 434.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.345, allocations: 0.7211 MB / 435 MB, free: 7.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.345, allocations: 0 / 435 MB, free: 7.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.345, allocations: 1.344 kB / 435 MB, free: 7.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.345, allocations: 1.375 kB / 435 MB, free: 7.102 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.001539/0.3465, allocations: 0.9303 MB / 435.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3466, allocations: 9.625 kB / 435.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.3467, allocations: 83.09 kB / 436 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.3468, allocations: 71.41 kB / 436 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007684/0.3476, allocations: 454.6 kB / 436.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.454e-05/0.3477, allocations: 58.58 kB / 436.5 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.3478, allocations: 37.58 kB / 436.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000848/0.3486, allocations: 0.5103 MB / 437.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3486, allocations: 0 / 437.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.3487, allocations: 20.12 kB / 437.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3487, allocations: 8.406 kB / 437.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008642/0.3495, allocations: 361.8 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.002066/0.3516, allocations: 1.354 MB / 438.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008422/0.3525, allocations: 433.7 kB / 439.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.3529, allocations: 172.6 kB / 439.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.3529, allocations: 14.44 kB / 439.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3529, allocations: 45.42 kB / 439.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.3529, allocations: 0 / 439.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001639/0.3546, allocations: 0.7386 MB / 440.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.3547, allocations: 449.6 kB / 440.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.3552, allocations: 475.9 kB / 441.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.3553, allocations: 38.05 kB / 441.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.3554, allocations: 247 kB / 441.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.074e-05/0.3555, allocations: 140.8 kB / 441.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.3556, allocations: 85.19 kB / 441.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.3557, allocations: 358.4 kB / 442 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.3561, allocations: 140 kB / 442.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.3566, allocations: 291.5 kB / 442.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/0.3573, allocations: 352.8 kB / 442.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3573, allocations: 1.25 kB / 442.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001096/0.3584, allocations: 0.4895 MB / 443.2 MB, free: 2.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.3585, allocations: 32.56 kB / 443.3 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3585, allocations: 0.625 kB / 443.3 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/0.3586, allocations: 58.47 kB / 443.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.3591, allocations: 87.84 kB / 443.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.3611, allocations: 2.958 MB / 446.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.3617, allocations: 62.41 kB / 446.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.3617, allocations: 8.641 kB / 446.4 MB, free: 15.27 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.000248/0.3619, allocations: 171.1 kB / 446.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.362, allocations: 55.58 kB / 446.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.3622, allocations: 61.23 kB / 446.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3622, allocations: 3.188 kB / 446.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3622, allocations: 1.094 kB / 446.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001129/0.3633, allocations: 0.7445 MB / 447.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.3653, allocations: 1.056 MB / 448.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3653, allocations: 0 / 448.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/0.3657, allocations: 94.5 kB / 448.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3657, allocations: 1.703 kB / 448.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.3658, allocations: 6.609 kB / 448.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3658, allocations: 2.984 kB / 448.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3658, allocations: 0 / 448.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.3672, allocations: 0.6762 MB / 449.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.3674, allocations: 172.7 kB / 449.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.761e-05/0.3675, allocations: 15.53 kB / 449.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.3679, allocations: 25.95 kB / 449.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/0.368, allocations: 25.17 kB / 449.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.368, allocations: 11.77 kB / 449.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004194/0.3684, allocations: 340.6 kB / 449.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3684, allocations: 0 / 449.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004766/0.3689, allocations: 144.7 kB / 450 MB, free: 13.07 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.00177/0.3707, allocations: 1.231 MB / 451.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.372, allocations: 0.6331 MB / 451.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.372, allocations: 5.188 kB / 451.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.3724, allocations: 181 kB / 452.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007018/0.3731, allocations: 141.1 kB / 452.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008368/0.3815, allocations: 4.67 MB / 456.9 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.382, allocations: 0.8408 MB / 457.7 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004021/0.3824, allocations: 67.56 kB / 457.8 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.3827, allocations: 182.7 kB / 458 MB, free: 8.254 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3827, allocations: 0 / 458 MB, free: 8.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05148/0.4342, allocations: 14.11 MB / 472.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.95, allocations: 0 / 472.1 MB, free: 1.773 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.603732495103031] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.059089166112244 13.079145075 12.730858354 Calling exit ...