Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.00164/0.00164, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002197/0.002197, allocations: 213.5 kB / 22.25 MB, free: 5.125 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9194/0.9194, allocations: 145 MB / 457.4 MB, free: 15.5 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002025/0.002025, allocations: 70.3 kB / 0.6332 GB, free: 7.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2021, allocations: 87.88 MB / 0.719 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001805/0.2039, allocations: 0.5755 MB / 0.7196 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003178/0.2042, allocations: 55.78 kB / 0.7197 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.2042, allocations: 0 / 0.7197 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.2043, allocations: 4 kB / 0.7197 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.2043, allocations: 0 / 0.7197 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.2045, allocations: 19.92 kB / 0.7197 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.2046, allocations: 0 / 0.7197 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.2046, allocations: 0 / 0.7197 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.562e-05/0.2046, allocations: 4 kB / 0.7197 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.673e-05/0.2047, allocations: 3.984 kB / 0.7197 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.128e-06/0.2047, allocations: 0 / 0.7197 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.2048, allocations: 23.97 kB / 0.7197 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.2048, allocations: 4 kB / 0.7197 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.2048, allocations: 4 kB / 0.7197 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.384e-05/0.2049, allocations: 11.98 kB / 0.7197 GB, free: 14.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2049, allocations: 0 / 0.7197 GB, free: 14.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2049, allocations: 0 / 0.7197 GB, free: 14.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2049, allocations: 4 kB / 0.7197 GB, free: 14.64 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002921/0.2052, allocations: 240.6 kB / 0.72 GB, free: 14.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2052, allocations: 8.031 kB / 0.72 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.2053, allocations: 42.56 kB / 0.72 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/0.2055, allocations: 24.91 kB / 0.72 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.169e-05/0.2056, allocations: 106.5 kB / 0.7201 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2056, allocations: 4.375 kB / 0.7201 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.2056, allocations: 384 / 0.7201 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.2058, allocations: 34.25 kB / 0.7202 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2058, allocations: 3.938 kB / 0.7202 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.2058, allocations: 0 / 0.7202 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2058, allocations: 0 / 0.7202 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.907e-05/0.2059, allocations: 15.98 kB / 0.7202 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.206, allocations: 116.8 kB / 0.7203 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.399e-05/0.2061, allocations: 26.55 kB / 0.7203 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.2062, allocations: 12.91 kB / 0.7203 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2062, allocations: 0 / 0.7203 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.2062, allocations: 30.56 kB / 0.7204 GB, free: 13.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2062, allocations: 4 kB / 0.7204 GB, free: 13.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002384/0.2065, allocations: 49.61 kB / 0.7204 GB, free: 13.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.2065, allocations: 55.34 kB / 0.7205 GB, free: 13.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.896e-05/0.2065, allocations: 89.86 kB / 0.7206 GB, free: 13.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2066, allocations: 25.7 kB / 0.7206 GB, free: 13.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.2066, allocations: 80.14 kB / 0.7207 GB, free: 13.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.2066, allocations: 8 kB / 0.7207 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.2067, allocations: 13.84 kB / 0.7207 GB, free: 13.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2068, allocations: 310.8 kB / 0.721 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.725e-05/0.2068, allocations: 7.984 kB / 0.721 GB, free: 13.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.2069, allocations: 4 kB / 0.721 GB, free: 13.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.679e-05/0.207, allocations: 12.84 kB / 0.721 GB, free: 13.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.207, allocations: 4.062 kB / 0.721 GB, free: 13.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000122/0.2071, allocations: 49.62 kB / 0.7211 GB, free: 13.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2071, allocations: 7.984 kB / 0.7211 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2071, allocations: 3.938 kB / 0.7211 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2071, allocations: 0 / 0.7211 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.2072, allocations: 4 kB / 0.7211 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.2072, allocations: 0 / 0.7211 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.2072, allocations: 4 kB / 0.7211 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.2072, allocations: 0 / 0.7211 GB, free: 13.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 7.811e-05/0.2073, allocations: 117.8 kB / 0.7212 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.2073, allocations: 3.984 kB / 0.7212 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.2074, allocations: 6.938 kB / 0.7212 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2074, allocations: 0 / 0.7212 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2074, allocations: 4 kB / 0.7212 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2074, allocations: 0 / 0.7212 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.2075, allocations: 124.7 kB / 0.7213 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2075, allocations: 3.984 kB / 0.7213 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.2075, allocations: 8 kB / 0.7213 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2075, allocations: 0 / 0.7213 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.2075, allocations: 3.938 kB / 0.7213 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2075, allocations: 0 / 0.7213 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2075, allocations: 4 kB / 0.7213 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.2077, allocations: 69.05 kB / 0.7214 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-06/0.2077, allocations: 0 / 0.7214 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.2077, allocations: 7.969 kB / 0.7214 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.258e-05/0.2078, allocations: 4 kB / 0.7214 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.2078, allocations: 4 kB / 0.7214 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-06/0.2078, allocations: 0 / 0.7214 GB, free: 12.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.2078, allocations: 75.28 kB / 0.7215 GB, free: 12.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2078, allocations: 0 / 0.7215 GB, free: 12.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001743/0.208, allocations: 4 kB / 0.7215 GB, free: 12.57 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0004762/0.2085, allocations: 0.6007 MB / 0.7221 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.2086, allocations: 11.92 kB / 0.7221 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2086, allocations: 4 kB / 0.7221 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-05/0.2087, allocations: 8.078 kB / 0.7221 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.2088, allocations: 4.062 kB / 0.7221 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.2092, allocations: 110.6 kB / 0.7222 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.2095, allocations: 0.6729 MB / 0.7229 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.747e-05/0.2095, allocations: 0 / 0.7229 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.2095, allocations: 15.42 kB / 0.7229 GB, free: 11.04 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.2095, allocations: 0 / 0.7229 GB, free: 11.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.2398, allocations: 1.049 MB / 0.7239 GB, free: 10.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.78, allocations: 10.45 kB / 0.7239 GB, free: 10.12 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.63116650399752] Failed to read output from testmodel.py, exit status != 0: 10.88675383699956 10.90547311 10.697574129 Calling exit ...