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.001345/0.001345, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008972/0.0008972, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8789/0.8789, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.5504/0.5504, allocations: 110.2 MB / 369.4 MB, free: 12.62 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 0.5473 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.217e-05, allocations: 10.22 kB / 0.5473 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.001928/0.00195, allocations: 1.48 MB / 0.5487 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007016/0.002652, allocations: 0.5852 MB / 0.5493 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.002698, allocations: 0 / 0.5493 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.002723, allocations: 7.875 kB / 0.5493 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.736e-05/0.002761, allocations: 0 / 0.5493 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.003008, allocations: 55.81 kB / 0.5494 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.404e-05/0.003092, allocations: 31.86 kB / 0.5494 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.357e-05/0.003175, allocations: 3.984 kB / 0.5494 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.003286, allocations: 39.78 kB / 0.5494 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.003326, allocations: 8 kB / 0.5494 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.003339, allocations: 0 / 0.5494 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.77e-05/0.003437, allocations: 59.94 kB / 0.5495 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.003448, allocations: 7.922 kB / 0.5495 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.003466, allocations: 8 kB / 0.5495 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.003602, allocations: 71.78 kB / 0.5496 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.003604, allocations: 3.938 kB / 0.5496 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003605, allocations: 4 kB / 0.5496 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003609, allocations: 0 / 0.5496 GB, free: 7.43 MB / 0.5105 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.0003264/0.003935, allocations: 278.1 kB / 0.5499 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.003974, allocations: 16.03 kB / 0.5499 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.004003, allocations: 30.75 kB / 0.5499 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.004113, allocations: 16.88 kB / 0.5499 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.004279, allocations: 117.7 kB / 0.55 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.004288, allocations: 384 / 0.55 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.004298, allocations: 12.31 kB / 0.55 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.00441, allocations: 38.25 kB / 0.5501 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004417, allocations: 4.125 kB / 0.5501 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.004427, allocations: 8.125 kB / 0.5501 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.004432, allocations: 0 / 0.5501 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.224e-05/0.004495, allocations: 19.98 kB / 0.5501 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.004772, allocations: 224 kB / 0.5503 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.908e-05/0.004841, allocations: 30.56 kB / 0.5503 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.004874, allocations: 16.86 kB / 0.5504 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003347/0.005209, allocations: 99.86 kB / 0.5505 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.005231, allocations: 38.5 kB / 0.5505 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.005233, allocations: 0 / 0.5505 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001865/0.005419, allocations: 61.67 kB / 0.5506 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.00545, allocations: 51.41 kB / 0.5506 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.005516, allocations: 109.8 kB / 0.5507 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.005525, allocations: 25.7 kB / 0.5507 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.005564, allocations: 88.14 kB / 0.5508 GB, free: 6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.005578, allocations: 8.078 kB / 0.5508 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.005605, allocations: 21.7 kB / 0.5508 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.00568, allocations: 310.8 kB / 0.5511 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.005706, allocations: 11.94 kB / 0.5512 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.131e-05/0.005727, allocations: 15.92 kB / 0.5512 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.506e-05/0.005772, allocations: 24.84 kB / 0.5512 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005774, allocations: 0 / 0.5512 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.122e-05/0.005845, allocations: 65.64 kB / 0.5513 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.005858, allocations: 8 kB / 0.5513 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.005863, allocations: 0 / 0.5513 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.005873, allocations: 0 / 0.5513 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.872e-05/0.005922, allocations: 7.984 kB / 0.5513 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.005926, allocations: 0 / 0.5513 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.005942, allocations: 4 kB / 0.5513 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.005946, allocations: 0 / 0.5513 GB, free: 5.508 MB / 0.5105 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 4.812e-05/0.005994, allocations: 110.2 kB / 0.5514 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.006008, allocations: 11.92 kB / 0.5514 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.006116, allocations: 65.33 kB / 0.5515 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.006119, allocations: 3.984 kB / 0.5515 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.006126, allocations: 7.922 kB / 0.5515 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006129, allocations: 0 / 0.5515 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.006233, allocations: 128.8 kB / 0.5516 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.006234, allocations: 3.938 kB / 0.5516 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.00625, allocations: 8 kB / 0.5516 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.006251, allocations: 0 / 0.5516 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.006258, allocations: 4 kB / 0.5516 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006259, allocations: 0 / 0.5516 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.00626, allocations: 4.031 kB / 0.5516 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.006361, allocations: 159.4 kB / 0.5518 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.006367, allocations: 3.938 kB / 0.5518 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.006376, allocations: 0 / 0.5518 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.006406, allocations: 4 kB / 0.5518 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.00643, allocations: 3.984 kB / 0.5518 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.006432, allocations: 0 / 0.5518 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.957e-05/0.006462, allocations: 87.28 kB / 0.5519 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.006462, allocations: 0 / 0.5519 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001614/0.006623, allocations: 23.95 kB / 0.5519 GB, free: 4.812 MB / 0.5105 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.0003277/0.006951, allocations: 0.7122 MB / 0.5526 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.223e-05/0.007043, allocations: 23.98 kB / 0.5526 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.007044, allocations: 0 / 0.5526 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.007072, allocations: 15.98 kB / 0.5526 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.007229, allocations: 2.656 kB / 0.5526 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008913/0.00812, allocations: 1.257 MB / 0.5538 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.11e-05/0.008171, allocations: 67.28 kB / 0.5539 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.008194, allocations: 4 kB / 0.5539 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.00823, allocations: 16.48 kB / 0.5539 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/0.008231, allocations: 0 / 0.5539 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.02414, allocations: 2.319 MB / 0.5562 GB, free: 420 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/6.89, allocations: 9.484 kB / 0.5562 GB, free: 412 kB / 0.5105 GB " [Timeout remaining time 653] (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: 9.481718722730875] Failed to read output from testmodel.py, exit status != 0: 6.969866396859288 6.977273016 6.971812921 Calling exit ...