Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.0008626/0.0008626, allocations: 79.69 kB / 19.26 MB, free: 0.6172 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.0009756/0.0009756, allocations: 162 kB / 22.56 MB, free: 1.961 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.9321/0.9321, allocations: 177.1 MB / 202.9 MB, free: 5.715 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.5409/0.5409, allocations: 110.2 MB / 369.6 MB, free: 12.6 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.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 3.984 kB / 0.5475 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.266e-05, allocations: 2.281 kB / 0.5475 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002367/0.00239, allocations: 1.463 MB / 0.5489 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006765/0.003066, allocations: 471.7 kB / 0.5494 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.00311, allocations: 0 / 0.5494 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.003138, allocations: 3.938 kB / 0.5494 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.306e-05/0.003202, allocations: 12 kB / 0.5494 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.00342, allocations: 19.86 kB / 0.5494 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.003493, allocations: 35.84 kB / 0.5494 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.003587, allocations: 4 kB / 0.5494 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-05/0.003669, allocations: 11.98 kB / 0.5494 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.003711, allocations: 11.98 kB / 0.5495 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.003725, allocations: 0 / 0.5495 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.003787, allocations: 8 kB / 0.5495 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.003805, allocations: 15.92 kB / 0.5495 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.003825, allocations: 7.984 kB / 0.5495 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.003944, allocations: 35.91 kB / 0.5495 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.003947, allocations: 0 / 0.5495 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.693e-06/0.003949, allocations: 0 / 0.5495 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.00396, allocations: 3.984 kB / 0.5495 GB, free: 7.617 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.0004048/0.004365, allocations: 270.3 kB / 0.5498 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.004414, allocations: 11.97 kB / 0.5498 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.004449, allocations: 30.75 kB / 0.5498 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.00448, allocations: 8.891 kB / 0.5498 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.004576, allocations: 105.7 kB / 0.5499 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.00459, allocations: 4.375 kB / 0.5499 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.0046, allocations: 4.375 kB / 0.5499 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.004737, allocations: 50.23 kB / 0.55 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004744, allocations: 192 / 0.55 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.004755, allocations: 4.125 kB / 0.55 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.00476, allocations: 0 / 0.55 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/0.004848, allocations: 39.89 kB / 0.55 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.005139, allocations: 212.1 kB / 0.5502 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.949e-05/0.005229, allocations: 38.55 kB / 0.5503 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.005275, allocations: 32.84 kB / 0.5503 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.781e-05/0.005353, allocations: 4 kB / 0.5503 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.005373, allocations: 34.55 kB / 0.5503 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.005375, allocations: 0 / 0.5503 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002246/0.005599, allocations: 85.55 kB / 0.5504 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.005629, allocations: 59.52 kB / 0.5505 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.997e-05/0.005689, allocations: 101.9 kB / 0.5506 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.005698, allocations: 25.7 kB / 0.5506 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.005737, allocations: 88.12 kB / 0.5507 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.005753, allocations: 11.94 kB / 0.5507 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.005778, allocations: 9.719 kB / 0.5507 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.005852, allocations: 318.8 kB / 0.551 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.62e-05/0.005898, allocations: 11.98 kB / 0.551 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.005932, allocations: 15.98 kB / 0.551 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.006011, allocations: 48.81 kB / 0.5511 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006013, allocations: 0 / 0.5511 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001035/0.006116, allocations: 69.59 kB / 0.5511 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.00613, allocations: 4 kB / 0.5512 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006135, allocations: 0 / 0.5512 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.006149, allocations: 4 kB / 0.5512 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.006212, allocations: 8.031 kB / 0.5512 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.006217, allocations: 0 / 0.5512 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.00624, allocations: 11.92 kB / 0.5512 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.006245, allocations: 0 / 0.5512 GB, free: 5.734 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 5.709e-05/0.006302, allocations: 113.8 kB / 0.5513 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.006314, allocations: 3.938 kB / 0.5513 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.006466, allocations: 80.84 kB / 0.5514 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.006469, allocations: 4.281 kB / 0.5514 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.006472, allocations: 0 / 0.5514 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.006477, allocations: 4 kB / 0.5514 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.006586, allocations: 128.8 kB / 0.5515 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.006588, allocations: 3.938 kB / 0.5515 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.006615, allocations: 4 kB / 0.5515 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006617, allocations: 0 / 0.5515 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.006624, allocations: 4 kB / 0.5515 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.006629, allocations: 7.984 kB / 0.5515 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.00663, allocations: 0 / 0.5515 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.006763, allocations: 159.5 kB / 0.5517 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.006773, allocations: 11.86 kB / 0.5517 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.006783, allocations: 0 / 0.5517 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.275e-05/0.006816, allocations: 4 kB / 0.5517 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.006858, allocations: 7.984 kB / 0.5517 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.006862, allocations: 4 kB / 0.5517 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.017e-05/0.006892, allocations: 79.28 kB / 0.5518 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.006892, allocations: 0 / 0.5518 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001519/0.007044, allocations: 7.938 kB / 0.5518 GB, free: 5.043 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.0003662/0.00741, allocations: 0.7046 MB / 0.5525 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.007541, allocations: 39.91 kB / 0.5525 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.007543, allocations: 0 / 0.5525 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.007582, allocations: 20.08 kB / 0.5525 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.007809, allocations: 11.97 kB / 0.5525 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.008142, allocations: 138.4 kB / 0.5527 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.091e-05/0.008182, allocations: 59.34 kB / 0.5527 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.367e-05/0.008206, allocations: 7.938 kB / 0.5527 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.008237, allocations: 12.5 kB / 0.5527 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of SimCode: time 3.71e-07/0.008237, allocations: 0 / 0.5527 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.026, allocations: 2.099 MB / 0.5548 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/6.878, allocations: 6.469 kB / 0.5548 GB, free: 2.004 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside_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_SmoothHeaviside.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.538959871977568] Failed to read output from testmodel.py, exit status != 0: 6.960509107448161 6.973472922 6.967280771 Calling exit ...