Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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.0019/0.0019, allocations: 104.3 kB / 19.7 MB, free: 1.922 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.001566/0.001566, allocations: 213.5 kB / 22.99 MB, free: 4.977 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo): time 0.4102/0.4102, allocations: 65.59 MB / 378.8 MB, free: 2.098 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo) 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(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 72.03 kB / 0.5176 GB, free: 2.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1615, allocations: 68.12 MB / 0.5841 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.01026/0.1718, allocations: 6.563 MB / 0.5905 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006892/0.1787, allocations: 4.155 MB / 0.5945 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007452/0.1794, allocations: 11.94 kB / 0.5946 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.1809, allocations: 0.493 MB / 0.595 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.1827, allocations: 0.7182 MB / 0.5957 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.184, allocations: 0.5384 MB / 0.5963 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003079/0.1871, allocations: 2.474 MB / 0.5987 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.1881, allocations: 0.6372 MB / 0.5993 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.1895, allocations: 0.8725 MB / 0.6002 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.1912, allocations: 1.039 MB / 0.6012 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003325/0.1915, allocations: 208 kB / 0.6014 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.192, allocations: 207.9 kB / 0.6016 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007243/0.1927, allocations: 0.8143 MB / 0.6024 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.1938, allocations: 0.8949 MB / 0.6032 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.1969, allocations: 3.106 MB / 0.6063 GB, free: 332 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1969, allocations: 0 / 0.6063 GB, free: 332 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1969, allocations: 0 / 0.6063 GB, free: 332 kB / 446.1 MB Notification: Performance of Transformations before backend: time 7.215e-05/0.197, allocations: 0 / 0.6063 GB, free: 332 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.00471/0.2017, allocations: 2.131 MB / 0.6084 GB, free: 14.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.2018, allocations: 8.031 kB / 0.6084 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003873/0.2022, allocations: 296 kB / 0.6086 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00076/0.2029, allocations: 239.6 kB / 0.6089 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.2044, allocations: 0.6879 MB / 0.6095 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.2045, allocations: 152.3 kB / 0.6097 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007567/0.2053, allocations: 264.4 kB / 0.6099 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004723/0.21, allocations: 2.731 MB / 0.6126 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.902e-05/0.21, allocations: 7.938 kB / 0.6126 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.2102, allocations: 87.98 kB / 0.6127 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/0.2104, allocations: 151.4 kB / 0.6128 GB, free: 9.316 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004138/0.2146, allocations: 2.164 MB / 0.615 GB, free: 7.148 MB / 462.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.01338/0.2279, allocations: 9.105 MB / 0.6238 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.2301, allocations: 1.054 MB / 0.6249 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.2311, allocations: 0.5935 MB / 0.6255 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.342e-05/0.2312, allocations: 24.92 kB / 0.6255 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.2313, allocations: 47.56 kB / 0.6255 GB, free: 12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 3.206e-06/0.2313, allocations: 0 / 0.6255 GB, free: 12 MB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.02057/0.2518, allocations: 7.386 MB / 0.6327 GB, free: 4.551 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004999/0.2568, allocations: 3.871 MB / 0.6365 GB, free: 396 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.2584, allocations: 1.145 MB / 0.6376 GB, free: 15.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002692/0.2587, allocations: 45.7 kB / 0.6377 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007106/0.2594, allocations: 0.963 MB / 0.6386 GB, free: 14.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005623/0.26, allocations: 0.523 MB / 0.6391 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006898/0.2607, allocations: 440.4 kB / 0.6396 GB, free: 13.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2608, allocations: 345.9 kB / 0.6399 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.2625, allocations: 0.9182 MB / 0.6408 GB, free: 11.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.265, allocations: 1.879 MB / 0.6426 GB, free: 9.625 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004355/0.2693, allocations: 2.947 MB / 0.6455 GB, free: 6.223 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.419e-05/0.2694, allocations: 11.94 kB / 0.6455 GB, free: 6.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009558/0.2789, allocations: 3.684 MB / 0.6491 GB, free: 2.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.279, allocations: 20 kB / 0.6491 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-05/0.279, allocations: 32.84 kB / 0.6491 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004675/0.2837, allocations: 0.9848 MB / 0.6501 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003286/0.287, allocations: 0.5577 MB / 0.6507 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.2998, allocations: 6.492 MB / 0.657 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.302, allocations: 163.8 kB / 0.6572 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003425/0.3024, allocations: 128 kB / 0.6573 GB, free: 9.957 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 2 * 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): 1 system {(9,14,63.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001051/0.3034, allocations: 0.5554 MB / 0.6578 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/0.3039, allocations: 139.1 kB / 0.6579 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008362/0.3123, allocations: 2.84 MB / 0.6607 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007674/0.3199, allocations: 2.472 MB / 0.6631 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/0.32, allocations: 4 kB / 0.6631 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.006e-05/0.32, allocations: 7.969 kB / 0.6631 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/0.335, allocations: 5.565 MB / 0.6686 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/0.335, allocations: 8 kB / 0.6686 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/0.3371, allocations: 280.2 kB / 0.6689 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005492/0.3426, allocations: 1.205 MB / 0.67 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003739/0.3429, allocations: 43.97 kB / 0.6701 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/0.3542, allocations: 6.138 MB / 0.6761 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005264/0.3595, allocations: 3.764 MB / 0.6797 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.3695, allocations: 4.324 MB / 0.684 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005366/0.3701, allocations: 147.1 kB / 0.6841 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.3703, allocations: 35.98 kB / 0.6841 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.3715, allocations: 75.92 kB / 0.6842 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/0.3719, allocations: 124.8 kB / 0.6843 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.372, allocations: 55.91 kB / 0.6844 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001048/0.373, allocations: 0.7001 MB / 0.6851 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.373, allocations: 4 kB / 0.6851 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002197/0.3752, allocations: 0.5547 MB / 0.6856 GB, free: 12.17 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],tank.level) * 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 (126): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(7,10,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (5,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01007/0.3853, allocations: 4.918 MB / 0.6904 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00686/0.3921, allocations: 2.568 MB / 0.6929 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.537e-06/0.3922, allocations: 0 / 0.6929 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004056/0.3962, allocations: 1.321 MB / 0.6942 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/0.3989, allocations: 410.6 kB / 0.6946 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3318/0.7307, allocations: 17.74 MB / 0.7119 GB, free: 121.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.7322, allocations: 0.8283 MB / 0.7127 GB, free: 121.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00183/0.734, allocations: 454.7 kB / 0.7132 GB, free: 121.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.7351, allocations: 0.6443 MB / 0.7138 GB, free: 121.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.573e-06/0.7351, allocations: 0 / 0.7138 GB, free: 121.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/0.8534, allocations: 45.29 MB / 0.758 GB, free: 90.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.07/16.92, allocations: 10.06 kB / 0.758 GB, free: 90.03 MB / 0.545 GB " [Timeout remaining time 643] (rm -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.sim & python3 -m fmpy simulate --output-file ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem.fmu > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.47162402467802] Failed to read output from testmodel.py, exit status != 0: 17.07120312517509 17.087722124 16.8875847 Calling exit ...