Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.001743/0.001743, allocations: 103 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.00196/0.00196, allocations: 208.9 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.9436/0.9436, allocations: 145 MB / 453.8 MB, free: 0.7344 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.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",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.001994/0.001994, allocations: 66.56 kB / 0.628 GB, free: 10.69 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1952, allocations: 87.83 MB / 0.7138 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.003601/0.1988, allocations: 1.478 MB / 0.7152 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2001, allocations: 0.6125 MB / 0.7158 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.2002, allocations: 7.938 kB / 0.7159 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.2002, allocations: 0 / 0.7159 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.032e-05/0.2003, allocations: 7.938 kB / 0.7159 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.2007, allocations: 59.8 kB / 0.7159 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.2008, allocations: 39.78 kB / 0.716 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2009, allocations: 8 kB / 0.716 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.2011, allocations: 19.92 kB / 0.716 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.2012, allocations: 7.938 kB / 0.716 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.2012, allocations: 4 kB / 0.716 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.2014, allocations: 59.94 kB / 0.7161 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.2014, allocations: 0 / 0.7161 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.2015, allocations: 15.92 kB / 0.7161 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.2017, allocations: 83.89 kB / 0.7161 GB, free: 452 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2017, allocations: 0 / 0.7161 GB, free: 452 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2017, allocations: 3.938 kB / 0.7161 GB, free: 448 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.2017, allocations: 0 / 0.7161 GB, free: 448 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005871/0.2023, allocations: 357.2 kB / 0.7165 GB, free: 44 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.2024, allocations: 8.031 kB / 0.7165 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.982e-05/0.2024, allocations: 34.75 kB / 0.7165 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.2026, allocations: 12.88 kB / 0.7165 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.2029, allocations: 188.2 kB / 0.7167 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.203, allocations: 384 / 0.7167 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.203, allocations: 4.375 kB / 0.7167 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.2031, allocations: 45.8 kB / 0.7168 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2031, allocations: 0 / 0.7168 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2032, allocations: 4 kB / 0.7168 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2032, allocations: 0 / 0.7168 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.2033, allocations: 19.92 kB / 0.7168 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.2037, allocations: 260.9 kB / 0.717 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.2038, allocations: 30.56 kB / 0.7171 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.2038, allocations: 17.72 kB / 0.7171 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008802/0.2047, allocations: 473.4 kB / 0.7175 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.2048, allocations: 38.5 kB / 0.7176 GB, free: 14.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.2048, allocations: 0 / 0.7176 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.00029/0.205, allocations: 61.67 kB / 0.7176 GB, free: 14.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.2051, allocations: 51.41 kB / 0.7177 GB, free: 14.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.2052, allocations: 109.8 kB / 0.7178 GB, free: 14.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.2052, allocations: 33.83 kB / 0.7178 GB, free: 14.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.2053, allocations: 84.14 kB / 0.7179 GB, free: 14.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.2053, allocations: 11.94 kB / 0.7179 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.2054, allocations: 13.66 kB / 0.7179 GB, free: 14.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.2055, allocations: 318.8 kB / 0.7182 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.837e-05/0.2056, allocations: 12.36 kB / 0.7182 GB, free: 13.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.2056, allocations: 12 kB / 0.7183 GB, free: 13.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.158e-05/0.2057, allocations: 36.84 kB / 0.7183 GB, free: 13.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2057, allocations: 0 / 0.7183 GB, free: 13.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001299/0.2059, allocations: 61.56 kB / 0.7183 GB, free: 13.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2059, allocations: 6.031 kB / 0.7184 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.2059, allocations: 0 / 0.7184 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2059, allocations: 4 kB / 0.7184 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.206, allocations: 4 kB / 0.7184 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.206, allocations: 0 / 0.7184 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.206, allocations: 4.031 kB / 0.7184 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.206, allocations: 4 kB / 0.7184 GB, free: 13.84 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 (2): * Single equations (assignments): 2 * 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 9.271e-05/0.2061, allocations: 113.8 kB / 0.7185 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.2061, allocations: 4 kB / 0.7185 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.2063, allocations: 65.14 kB / 0.7185 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2063, allocations: 0 / 0.7185 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2063, allocations: 0 / 0.7185 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2063, allocations: 32 / 0.7185 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.2065, allocations: 173.6 kB / 0.7187 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2065, allocations: 3.984 kB / 0.7187 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.2066, allocations: 4 kB / 0.7187 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2066, allocations: 0 / 0.7187 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.2066, allocations: 0 / 0.7187 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2066, allocations: 0 / 0.7187 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2066, allocations: 0 / 0.7187 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.2068, allocations: 159.4 kB / 0.7189 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.2068, allocations: 81.06 kB / 0.7189 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.2068, allocations: 0 / 0.7189 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.248e-05/0.2069, allocations: 8 kB / 0.719 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.2069, allocations: 3.984 kB / 0.719 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.2069, allocations: 0 / 0.719 GB, free: 13.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.207, allocations: 87.28 kB / 0.719 GB, free: 13.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.207, allocations: 0 / 0.719 GB, free: 13.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002367/0.2072, allocations: 19.92 kB / 0.7191 GB, free: 13.04 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 (2): * Single equations (assignments): 2 * 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.0005494/0.2078, allocations: 0.7084 MB / 0.7198 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.2079, allocations: 20.27 kB / 0.7198 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.2079, allocations: 4 kB / 0.7198 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/0.208, allocations: 16.08 kB / 0.7198 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.2082, allocations: 11.94 kB / 0.7198 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.2095, allocations: 1.25 MB / 0.721 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.2099, allocations: 0.6768 MB / 0.7217 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.2099, allocations: 4 kB / 0.7217 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.2099, allocations: 11.47 kB / 0.7217 GB, free: 10.2 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2099, allocations: 4 kB / 0.7217 GB, free: 10.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.2339, allocations: 1.672 MB / 0.7233 GB, free: 8.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.155, allocations: 12.28 kB / 0.7233 GB, free: 8.609 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.043242885993095] Failed to read output from testmodel.py, exit status != 0: 8.22304771200288 8.244280783 8.038539641 Calling exit ...