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.001303/0.001303, allocations: 105 kB / 20.48 MB, free: 1.488 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.001361/0.001361, allocations: 213.5 kB / 23.79 MB, free: 4.703 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.36/1.36, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.364/0.364, allocations: 65.54 MB / 379.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="cs",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.001952/0.001952, allocations: 71.64 kB / 0.5184 GB, free: 2.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1274, allocations: 68.12 MB / 0.5849 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009217/0.1366, allocations: 7.435 MB / 0.5921 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006801/0.1434, allocations: 4.451 MB / 0.5965 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008814/0.1443, allocations: 11.94 kB / 0.5965 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.1458, allocations: 0.5708 MB / 0.5971 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.1476, allocations: 0.7182 MB / 0.5978 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.1489, allocations: 0.55 MB / 0.5983 GB, free: 9.598 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00353/0.1524, allocations: 2.477 MB / 0.6007 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.1535, allocations: 0.6334 MB / 0.6013 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.1552, allocations: 0.8802 MB / 0.6022 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.1572, allocations: 1.102 MB / 0.6033 GB, free: 4.477 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005236/0.1578, allocations: 208 kB / 0.6035 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005845/0.1584, allocations: 204 kB / 0.6037 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008273/0.1592, allocations: 0.8104 MB / 0.6045 GB, free: 3.262 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.1607, allocations: 1.081 MB / 0.6055 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003547/0.1642, allocations: 3.09 MB / 0.6085 GB, free: 15.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1642, allocations: 0 / 0.6085 GB, free: 15.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1642, allocations: 0 / 0.6085 GB, free: 15.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.073e-05/0.1643, allocations: 0 / 0.6085 GB, free: 15.07 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.005081/0.1694, allocations: 2.13 MB / 0.6106 GB, free: 12.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1694, allocations: 8.031 kB / 0.6106 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.513e-05/0.1695, allocations: 56.17 kB / 0.6107 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003922/0.1699, allocations: 300 kB / 0.611 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007784/0.1706, allocations: 235.6 kB / 0.6112 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.172, allocations: 0.6879 MB / 0.6119 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.1721, allocations: 152.3 kB / 0.612 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007309/0.1728, allocations: 272.2 kB / 0.6123 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/0.1773, allocations: 2.727 MB / 0.6149 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.757e-05/0.1773, allocations: 7.875 kB / 0.6149 GB, free: 8.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/0.1775, allocations: 95.92 kB / 0.615 GB, free: 8.156 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/0.1777, allocations: 151.4 kB / 0.6152 GB, free: 8.008 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004153/0.1819, allocations: 2.172 MB / 0.6173 GB, free: 5.832 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.01428/0.1961, allocations: 10.75 MB / 0.6278 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.1982, allocations: 1.06 MB / 0.6288 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.1993, allocations: 0.5897 MB / 0.6294 GB, free: 8.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.151e-05/0.1994, allocations: 20.98 kB / 0.6294 GB, free: 8.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.1995, allocations: 51.5 kB / 0.6295 GB, free: 8.758 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 2.975e-06/0.1995, allocations: 4 kB / 0.6295 GB, free: 8.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.021/0.2205, allocations: 7.378 MB / 0.6367 GB, free: 1.312 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004907/0.2254, allocations: 3.887 MB / 0.6405 GB, free: 13.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.227, allocations: 1.091 MB / 0.6415 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002896/0.2273, allocations: 49.77 kB / 0.6416 GB, free: 11.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007134/0.228, allocations: 0.9708 MB / 0.6425 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006587/0.2286, allocations: 0.5191 MB / 0.643 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008137/0.2294, allocations: 440.4 kB / 0.6435 GB, free: 10.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2296, allocations: 345.9 kB / 0.6438 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.2313, allocations: 0.9142 MB / 0.6447 GB, free: 8.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.2337, allocations: 1.886 MB / 0.6465 GB, free: 6.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004366/0.2381, allocations: 2.947 MB / 0.6494 GB, free: 3.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-05/0.2381, allocations: 8 kB / 0.6494 GB, free: 3.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009254/0.2474, allocations: 3.685 MB / 0.653 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.2474, allocations: 20 kB / 0.653 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.614e-05/0.2475, allocations: 35.94 kB / 0.6531 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004556/0.252, allocations: 0.9857 MB / 0.654 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/0.255, allocations: 0.5615 MB / 0.6546 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.2668, allocations: 6.566 MB / 0.661 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.269, allocations: 159.8 kB / 0.6611 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004517/0.2694, allocations: 127.9 kB / 0.6613 GB, free: 6.664 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.001201/0.2706, allocations: 0.5554 MB / 0.6618 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004387/0.271, allocations: 139.2 kB / 0.6619 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008233/0.2793, allocations: 2.84 MB / 0.6647 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007675/0.2869, allocations: 2.472 MB / 0.6671 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.318e-05/0.287, allocations: 4 kB / 0.6671 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/0.287, allocations: 3.984 kB / 0.6671 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.3017, allocations: 5.977 MB / 0.673 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/0.3018, allocations: 4 kB / 0.673 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/0.3037, allocations: 296.1 kB / 0.6733 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005463/0.3092, allocations: 1.196 MB / 0.6744 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002354/0.3094, allocations: 39.98 kB / 0.6745 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.3196, allocations: 6.214 MB / 0.6805 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004958/0.3246, allocations: 3.776 MB / 0.6842 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009965/0.3346, allocations: 4.328 MB / 0.6884 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.335, allocations: 151.1 kB / 0.6886 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003021/0.3353, allocations: 35.98 kB / 0.6886 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/0.3367, allocations: 79.91 kB / 0.6887 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/0.337, allocations: 128.5 kB / 0.6888 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.3371, allocations: 47.98 kB / 0.6889 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00107/0.3382, allocations: 0.6962 MB / 0.6895 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.3382, allocations: 0 / 0.6895 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002226/0.3404, allocations: 0.5547 MB / 0.6901 GB, free: 8.359 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.01008/0.3505, allocations: 4.918 MB / 0.6949 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006656/0.3572, allocations: 2.564 MB / 0.6974 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.3572, allocations: 0 / 0.6974 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004002/0.3612, allocations: 1.325 MB / 0.6987 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/0.3638, allocations: 401.5 kB / 0.6991 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2769/0.6407, allocations: 17.76 MB / 0.7164 GB, free: 118.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.6419, allocations: 1.412 MB / 0.7178 GB, free: 117.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001669/0.6436, allocations: 454.8 kB / 0.7182 GB, free: 117.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009634/0.6446, allocations: 0.6479 MB / 0.7189 GB, free: 117.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.163e-06/0.6446, allocations: 0 / 0.7189 GB, free: 117.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07527/0.7198, allocations: 45.84 MB / 0.7636 GB, free: 85 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.26, allocations: 12 kB / 0.7636 GB, free: 84.99 MB / 0.545 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=50 --tolerance=1e-06 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: 19.288671249058098] Failed to read output from testmodel.py, exit status != 0: 16.44539636897389 16.454453453 16.287976182 Calling exit ...