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.001464/0.001464, allocations: 103.6 kB / 16.45 MB, free: 6.449 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.001533/0.001533, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.9215/0.9215, allocations: 145 MB / 453.8 MB, free: 0.6875 MB / 350.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.00201/0.00201, allocations: 66.53 kB / 0.6281 GB, free: 10.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2133, allocations: 87.83 MB / 0.7138 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001836/0.2151, allocations: 0.5824 MB / 0.7144 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002774/0.2154, allocations: 51.73 kB / 0.7145 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.2154, allocations: 0 / 0.7145 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.2154, allocations: 0 / 0.7145 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.2154, allocations: 4 kB / 0.7145 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.2157, allocations: 15.86 kB / 0.7145 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.888e-05/0.2157, allocations: 0 / 0.7145 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.2157, allocations: 3.984 kB / 0.7145 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.466e-05/0.2158, allocations: 4 kB / 0.7145 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.58e-05/0.2158, allocations: 8 kB / 0.7145 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.2158, allocations: 0 / 0.7145 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.2159, allocations: 19.97 kB / 0.7145 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.2159, allocations: 4 kB / 0.7145 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.596e-05/0.2159, allocations: 0 / 0.7145 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.038e-05/0.216, allocations: 8.266 kB / 0.7145 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.216, allocations: 7.984 kB / 0.7145 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.753e-06/0.216, allocations: 0 / 0.7145 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.216, allocations: 4 kB / 0.7145 GB, free: 2.055 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003483/0.2164, allocations: 307.5 kB / 0.7148 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2164, allocations: 16.06 kB / 0.7148 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.2164, allocations: 30.75 kB / 0.7149 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.2167, allocations: 16.91 kB / 0.7149 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2168, allocations: 168.3 kB / 0.7151 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.2168, allocations: 384 / 0.7151 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.2168, allocations: 4.375 kB / 0.7151 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.217, allocations: 38.19 kB / 0.7151 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.217, allocations: 7.938 kB / 0.7151 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.217, allocations: 4 kB / 0.7151 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.217, allocations: 0 / 0.7151 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.2171, allocations: 7.984 kB / 0.7151 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.2173, allocations: 145.7 kB / 0.7153 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.658e-05/0.2173, allocations: 26.94 kB / 0.7153 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.2174, allocations: 8.859 kB / 0.7153 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.2174, allocations: 0 / 0.7153 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.2174, allocations: 42.61 kB / 0.7153 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.2174, allocations: 0 / 0.7153 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002599/0.2177, allocations: 45.62 kB / 0.7154 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.2177, allocations: 51.41 kB / 0.7154 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.038e-05/0.2178, allocations: 93.98 kB / 0.7155 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.2178, allocations: 25.7 kB / 0.7155 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.2179, allocations: 84.08 kB / 0.7156 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.2179, allocations: 3.938 kB / 0.7156 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.2179, allocations: 21.7 kB / 0.7156 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.218, allocations: 314.8 kB / 0.7159 GB, free: 404 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.206e-05/0.2181, allocations: 4 kB / 0.7159 GB, free: 400 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.152e-05/0.2181, allocations: 3.984 kB / 0.7159 GB, free: 396 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.299e-05/0.2182, allocations: 20.91 kB / 0.716 GB, free: 372 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2182, allocations: 0 / 0.716 GB, free: 372 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001243/0.2184, allocations: 37.69 kB / 0.716 GB, free: 328 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2184, allocations: 8 kB / 0.716 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2184, allocations: 3.938 kB / 0.716 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2184, allocations: 0 / 0.716 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.2185, allocations: 15.95 kB / 0.716 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.2185, allocations: 0 / 0.716 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/0.2185, allocations: 0 / 0.716 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.2185, allocations: 0 / 0.716 GB, free: 300 kB / 0.5294 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 8.135e-05/0.2186, allocations: 113.8 kB / 0.7161 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.2186, allocations: 0 / 0.7161 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.2186, allocations: 7.062 kB / 0.7161 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-06/0.2186, allocations: 0 / 0.7161 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2186, allocations: 0 / 0.7161 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2186, allocations: 11.92 kB / 0.7162 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.2188, allocations: 145.7 kB / 0.7163 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2188, allocations: 0 / 0.7163 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.2188, allocations: 3.984 kB / 0.7163 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2188, allocations: 0 / 0.7163 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2188, allocations: 11.94 kB / 0.7163 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2188, allocations: 0 / 0.7163 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2188, allocations: 0 / 0.7163 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.219, allocations: 65.12 kB / 0.7164 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.219, allocations: 85.03 kB / 0.7165 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.219, allocations: 11.92 kB / 0.7165 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.122e-05/0.2191, allocations: 0 / 0.7165 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.2191, allocations: 0 / 0.7165 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.2191, allocations: 0 / 0.7165 GB, free: 15.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.151e-05/0.2191, allocations: 75.28 kB / 0.7165 GB, free: 15.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2191, allocations: 4 kB / 0.7165 GB, free: 15.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001707/0.2193, allocations: 4.031 kB / 0.7165 GB, free: 15.67 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.0004697/0.2198, allocations: 0.6046 MB / 0.7171 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.2199, allocations: 23.95 kB / 0.7172 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2199, allocations: 0 / 0.7172 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.704e-05/0.22, allocations: 11.92 kB / 0.7172 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.2201, allocations: 2.031 kB / 0.7172 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.2205, allocations: 110.6 kB / 0.7173 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.2208, allocations: 0.6729 MB / 0.7179 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.2208, allocations: 4.125 kB / 0.7179 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.2208, allocations: 7.438 kB / 0.7179 GB, free: 14.14 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.2208, allocations: 0 / 0.7179 GB, free: 14.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.2442, allocations: 0.9658 MB / 0.7189 GB, free: 13.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/7.988, allocations: 8.281 kB / 0.7189 GB, free: 13.26 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.762659515996347] Failed to read output from testmodel.py, exit status != 0: 8.056476897007087 8.07074146 7.851883514 Calling exit ...