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.001644/0.001644, allocations: 115.4 kB / 19.69 MB, free: 2.199 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.002155/0.002155, allocations: 225.7 kB / 23.01 MB, free: 5.043 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 2.021/2.021, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.371/0.371, allocations: 65.54 MB / 378.7 MB, free: 2.328 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: ThermalSeparation requested package Modelica of version 4.0.0. Modelica 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.001944/0.001944, allocations: 65.11 kB / 0.5176 GB, free: 2.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1418, allocations: 68.11 MB / 0.5841 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.008717/0.1505, allocations: 7.44 MB / 0.5914 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006072/0.1566, allocations: 4.454 MB / 0.5957 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004858/0.1571, allocations: 11.94 kB / 0.5957 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.1583, allocations: 0.5669 MB / 0.5963 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.1596, allocations: 0.7221 MB / 0.597 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1606, allocations: 0.5462 MB / 0.5975 GB, free: 9.582 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00249/0.1631, allocations: 2.481 MB / 0.6 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007768/0.1639, allocations: 0.6334 MB / 0.6006 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.1649, allocations: 0.8802 MB / 0.6014 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.1663, allocations: 1.098 MB / 0.6025 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002534/0.1665, allocations: 204 kB / 0.6027 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003418/0.1669, allocations: 208 kB / 0.6029 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007177/0.1676, allocations: 0.8104 MB / 0.6037 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.1686, allocations: 1.089 MB / 0.6048 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.1715, allocations: 3.083 MB / 0.6078 GB, free: 15.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1715, allocations: 4 kB / 0.6078 GB, free: 15.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1715, allocations: 0 / 0.6078 GB, free: 15.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.277e-05/0.1715, allocations: 0 / 0.6078 GB, free: 15.05 MB / 462.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.004322/0.1759, allocations: 2.127 MB / 0.6098 GB, free: 12.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1759, allocations: 8.031 kB / 0.6099 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000353/0.1763, allocations: 300 kB / 0.6101 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007077/0.177, allocations: 231.6 kB / 0.6104 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.1782, allocations: 0.6918 MB / 0.611 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.1783, allocations: 148.4 kB / 0.6112 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007018/0.179, allocations: 268.4 kB / 0.6114 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00394/0.183, allocations: 2.731 MB / 0.6141 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.183, allocations: 11.88 kB / 0.6141 GB, free: 8.285 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001886/0.1832, allocations: 84 kB / 0.6142 GB, free: 8.203 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.1834, allocations: 151.4 kB / 0.6143 GB, free: 8.055 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003538/0.1869, allocations: 2.176 MB / 0.6165 GB, free: 5.875 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.0129/0.1998, allocations: 10.76 MB / 0.627 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.2018, allocations: 1.057 MB / 0.628 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.2028, allocations: 0.5897 MB / 0.6286 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.997e-05/0.2029, allocations: 21 kB / 0.6286 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.2029, allocations: 59.5 kB / 0.6287 GB, free: 8.789 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 3.477e-06/0.2029, allocations: 0 / 0.6287 GB, free: 8.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.01954/0.2225, allocations: 7.368 MB / 0.6359 GB, free: 1.359 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004873/0.2273, allocations: 3.91 MB / 0.6397 GB, free: 13.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.2288, allocations: 1.083 MB / 0.6407 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002354/0.2291, allocations: 45.7 kB / 0.6408 GB, free: 12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006904/0.2298, allocations: 0.9708 MB / 0.6417 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005068/0.2303, allocations: 0.5191 MB / 0.6422 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006517/0.2309, allocations: 444.4 kB / 0.6427 GB, free: 10.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2311, allocations: 337.9 kB / 0.643 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.2327, allocations: 0.9221 MB / 0.6439 GB, free: 8.789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/0.235, allocations: 1.882 MB / 0.6457 GB, free: 6.449 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004018/0.239, allocations: 2.939 MB / 0.6486 GB, free: 3.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/0.239, allocations: 19.94 kB / 0.6486 GB, free: 3.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008775/0.2478, allocations: 3.684 MB / 0.6522 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.2478, allocations: 16 kB / 0.6522 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.819e-05/0.2479, allocations: 39.94 kB / 0.6523 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004535/0.2524, allocations: 0.986 MB / 0.6532 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/0.2554, allocations: 0.5576 MB / 0.6538 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.2669, allocations: 6.563 MB / 0.6602 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.2691, allocations: 163.8 kB / 0.6603 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/0.2693, allocations: 127.9 kB / 0.6605 GB, free: 6.699 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.000982/0.2703, allocations: 0.5594 MB / 0.661 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.2706, allocations: 135.1 kB / 0.6611 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007904/0.2785, allocations: 2.84 MB / 0.6639 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006822/0.2854, allocations: 2.468 MB / 0.6663 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.2854, allocations: 8 kB / 0.6663 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.2854, allocations: 11.97 kB / 0.6663 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.2989, allocations: 5.969 MB / 0.6722 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.2989, allocations: 8 kB / 0.6722 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/0.3007, allocations: 284.2 kB / 0.6724 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005306/0.306, allocations: 1.192 MB / 0.6736 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.3061, allocations: 47.97 kB / 0.6736 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009979/0.3161, allocations: 6.215 MB / 0.6797 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004876/0.321, allocations: 3.775 MB / 0.6834 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009466/0.3305, allocations: 4.328 MB / 0.6876 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.3309, allocations: 147.2 kB / 0.6878 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.3311, allocations: 39.98 kB / 0.6878 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.3323, allocations: 75.91 kB / 0.6879 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/0.3327, allocations: 120.7 kB / 0.688 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.3328, allocations: 60.05 kB / 0.6881 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001027/0.3338, allocations: 0.6962 MB / 0.6887 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.3338, allocations: 0 / 0.6887 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002453/0.3362, allocations: 0.5547 MB / 0.6893 GB, free: 8.398 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.009695/0.3459, allocations: 4.918 MB / 0.6941 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006279/0.3522, allocations: 2.568 MB / 0.6966 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.435e-06/0.3522, allocations: 4 kB / 0.6966 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003617/0.3558, allocations: 1.317 MB / 0.6979 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.3581, allocations: 406.5 kB / 0.6983 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.316/0.6741, allocations: 17.76 MB / 0.7156 GB, free: 118.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.6754, allocations: 1.416 MB / 0.717 GB, free: 117.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001657/0.6771, allocations: 453.5 kB / 0.7174 GB, free: 117.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009091/0.678, allocations: 0.6437 MB / 0.718 GB, free: 117.3 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/0.678, allocations: 2.031 kB / 0.718 GB, free: 117.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08068/0.7586, allocations: 45.8 MB / 0.7628 GB, free: 85.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/17.01, allocations: 8.953 kB / 0.7628 GB, free: 85.02 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.86679939700116] Failed to read output from testmodel.py, exit status != 0: 17.14905326999724 17.158861979 16.985197307 Calling exit ...