Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001381/0.001381, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001668/0.001668, allocations: 214.6 kB / 22.25 MB, free: 4.859 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8596/0.8596, allocations: 134 MB / 446.4 MB, free: 9.938 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00262/0.00262, allocations: 75.67 kB / 0.6185 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1874, allocations: 85.91 MB / 0.7024 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003732/0.1911, allocations: 2.031 MB / 0.7044 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.193, allocations: 1.002 MB / 0.7054 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.1932, allocations: 11.88 kB / 0.7054 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.814e-05/0.1933, allocations: 19.73 kB / 0.7054 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.1937, allocations: 87.2 kB / 0.7055 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.1942, allocations: 195.5 kB / 0.7057 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.1946, allocations: 298.8 kB / 0.7059 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.1948, allocations: 44.91 kB / 0.706 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.195, allocations: 111.5 kB / 0.7061 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.1953, allocations: 131.4 kB / 0.7062 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.1953, allocations: 20 kB / 0.7062 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.1958, allocations: 275.7 kB / 0.7065 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.1958, allocations: 55.77 kB / 0.7066 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.1959, allocations: 95.45 kB / 0.7066 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.1964, allocations: 338.5 kB / 0.707 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1964, allocations: 0 / 0.707 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.324e-06/0.1964, allocations: 0 / 0.707 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.1964, allocations: 0 / 0.707 GB, free: 12.38 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001136/0.1975, allocations: 0.5515 MB / 0.7075 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1976, allocations: 12.03 kB / 0.7075 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.1976, allocations: 50.73 kB / 0.7076 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.1979, allocations: 36.75 kB / 0.7076 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.1983, allocations: 237.3 kB / 0.7078 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.1983, allocations: 16.41 kB / 0.7078 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.1984, allocations: 12 kB / 0.7079 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.1989, allocations: 224.6 kB / 0.7081 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1989, allocations: 0 / 0.7081 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1989, allocations: 4 kB / 0.7081 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1989, allocations: 15.92 kB / 0.7081 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.1996, allocations: 195.7 kB / 0.7083 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.2009, allocations: 0.8752 MB / 0.7091 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/0.2016, allocations: 233.2 kB / 0.7094 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.202, allocations: 101.6 kB / 0.7094 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.202, allocations: 7.984 kB / 0.7095 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.202, allocations: 34.56 kB / 0.7095 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.202, allocations: 3.938 kB / 0.7095 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16): time 0.001189/0.2032, allocations: 345.5 kB / 0.7098 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.2033, allocations: 81.11 kB / 0.7099 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.2036, allocations: 264.2 kB / 0.7102 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.2036, allocations: 29.7 kB / 0.7102 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.2037, allocations: 172.2 kB / 0.7103 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.2038, allocations: 51.53 kB / 0.7104 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/0.2039, allocations: 45.7 kB / 0.7104 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.204, allocations: 334.8 kB / 0.7108 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.2043, allocations: 91.91 kB / 0.7108 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.2047, allocations: 141.9 kB / 0.711 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/0.2053, allocations: 241.7 kB / 0.7112 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.2053, allocations: 4 kB / 0.7112 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008253/0.2062, allocations: 289.1 kB / 0.7115 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2062, allocations: 8 kB / 0.7115 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2062, allocations: 0 / 0.7115 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.2062, allocations: 4 kB / 0.7115 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.2065, allocations: 67.88 kB / 0.7116 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2065, allocations: 4.156 kB / 0.7116 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.2067, allocations: 43.8 kB / 0.7116 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.2067, allocations: 4 kB / 0.7116 GB, free: 7.324 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 0.0001346/0.2069, allocations: 141.7 kB / 0.7117 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.207, allocations: 27.81 kB / 0.7118 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008104/0.2078, allocations: 295.2 kB / 0.7121 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.2078, allocations: 0 / 0.7121 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2078, allocations: 4 kB / 0.7121 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2078, allocations: 0 / 0.7121 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.2082, allocations: 244.4 kB / 0.7123 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2082, allocations: 4 kB / 0.7123 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.2084, allocations: 55.95 kB / 0.7124 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2084, allocations: 0 / 0.7124 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.2085, allocations: 8 kB / 0.7124 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2085, allocations: 0 / 0.7124 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2085, allocations: 0 / 0.7124 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/0.2093, allocations: 446.3 kB / 0.7128 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.2093, allocations: 27.81 kB / 0.7128 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.2094, allocations: 0 / 0.7128 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.2096, allocations: 31.95 kB / 0.7128 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.2097, allocations: 15.97 kB / 0.7129 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.2097, allocations: 4 kB / 0.7129 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001834/0.2099, allocations: 199.1 kB / 0.7131 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2099, allocations: 0 / 0.7131 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003461/0.2102, allocations: 51.94 kB / 0.7131 GB, free: 5.723 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (20): * Single equations (assignments): 20 * 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.001238/0.2115, allocations: 1.003 MB / 0.7141 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007337/0.2122, allocations: 219.8 kB / 0.7143 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2122, allocations: 4.312 kB / 0.7143 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.2126, allocations: 111.8 kB / 0.7144 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005342/0.2131, allocations: 74.28 kB / 0.7145 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.2172, allocations: 2.704 MB / 0.7171 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.2174, allocations: 142.9 kB / 0.7172 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.2175, allocations: 30.27 kB / 0.7173 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.2176, allocations: 87.41 kB / 0.7174 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.2176, allocations: 0 / 0.7174 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.2525, allocations: 7.548 MB / 0.7247 GB, free: 9.883 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.27, allocations: 13.25 kB / 0.7247 GB, free: 9.871 MB / 0.545 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.982733319979161] Failed to read output from testmodel.py, exit status != 0: 11.375418989919126 11.391899305 11.19231115 Calling exit ...