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.001333/0.001333, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001515/0.001515, allocations: 158.2 kB / 22.45 MB, free: 5.375 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.576/1.576, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.9225/0.9225, allocations: 110.2 MB / 369.4 MB, free: 1.18 MB / 334.1 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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.5478 GB, free: 9.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.545e-05/3.74e-05, allocations: 6.219 kB / 0.5478 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002954/0.002992, allocations: 1.446 MB / 0.5492 GB, free: 8.242 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.003962, allocations: 484.3 kB / 0.5497 GB, free: 7.766 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.004009, allocations: 0 / 0.5497 GB, free: 7.766 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.004035, allocations: 0 / 0.5497 GB, free: 7.766 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.441e-05/0.004119, allocations: 3.938 kB / 0.5497 GB, free: 7.762 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.004384, allocations: 23.86 kB / 0.5497 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.183e-05/0.004466, allocations: 30.36 kB / 0.5497 GB, free: 7.711 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.00457, allocations: 7.969 kB / 0.5497 GB, free: 7.703 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.809e-05/0.004658, allocations: 19.94 kB / 0.5497 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.05e-05/0.004699, allocations: 3.984 kB / 0.5497 GB, free: 7.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.004717, allocations: 7.938 kB / 0.5497 GB, free: 7.672 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.655e-05/0.004784, allocations: 15.98 kB / 0.5498 GB, free: 7.656 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.004798, allocations: 2.656 kB / 0.5498 GB, free: 7.656 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.004822, allocations: 8 kB / 0.5498 GB, free: 7.648 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.004962, allocations: 43.81 kB / 0.5498 GB, free: 7.605 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.004966, allocations: 0 / 0.5498 GB, free: 7.605 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004966, allocations: 0 / 0.5498 GB, free: 7.605 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.004972, allocations: 0 / 0.5498 GB, free: 7.605 MB / 462.1 MB 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.0005283/0.0055, allocations: 270.3 kB / 0.5501 GB, free: 7.312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.005546, allocations: 12.03 kB / 0.5501 GB, free: 7.301 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.005584, allocations: 4.891 kB / 0.5501 GB, free: 7.297 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.00572, allocations: 105.8 kB / 0.5502 GB, free: 7.168 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.005734, allocations: 384 / 0.5502 GB, free: 7.168 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.005747, allocations: 4.375 kB / 0.5502 GB, free: 7.164 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.005952, allocations: 54.16 kB / 0.5502 GB, free: 7.105 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.005961, allocations: 4.188 kB / 0.5503 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.00597, allocations: 384 / 0.5503 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.005984, allocations: 3.938 kB / 0.5503 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.006159, allocations: 35.95 kB / 0.5503 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.006472, allocations: 192.6 kB / 0.5505 GB, free: 6.844 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.006624, allocations: 38.55 kB / 0.5505 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.274e-05/0.006717, allocations: 24.84 kB / 0.5505 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.006818, allocations: 7.984 kB / 0.5505 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.006853, allocations: 38.5 kB / 0.5506 GB, free: 6.715 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.073e-06/0.006854, allocations: 0 / 0.5506 GB, free: 6.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003762/0.00723, allocations: 85.64 kB / 0.5507 GB, free: 6.625 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.007273, allocations: 51.41 kB / 0.5507 GB, free: 6.562 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.007362, allocations: 97.86 kB / 0.5508 GB, free: 6.457 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.00738, allocations: 25.7 kB / 0.5508 GB, free: 6.426 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.007436, allocations: 92.08 kB / 0.5509 GB, free: 6.332 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.007456, allocations: 7.953 kB / 0.5509 GB, free: 6.324 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.007489, allocations: 13.72 kB / 0.5509 GB, free: 6.305 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.007625, allocations: 310.8 kB / 0.5512 GB, free: 5.992 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.784e-05/0.007713, allocations: 24.05 kB / 0.5513 GB, free: 5.969 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.783e-05/0.007791, allocations: 23.91 kB / 0.5513 GB, free: 5.945 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.007972, allocations: 40.83 kB / 0.5513 GB, free: 5.902 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007973, allocations: 0 / 0.5513 GB, free: 5.902 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002108/0.008184, allocations: 73.66 kB / 0.5514 GB, free: 5.824 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.008199, allocations: 7.938 kB / 0.5514 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.008204, allocations: 0 / 0.5514 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.008218, allocations: 0 / 0.5514 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.008311, allocations: 11.98 kB / 0.5514 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.008317, allocations: 0 / 0.5514 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.008365, allocations: 12.12 kB / 0.5514 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.008371, allocations: 0 / 0.5514 GB, free: 5.793 MB / 462.1 MB 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 7.946e-05/0.008451, allocations: 106.5 kB / 0.5515 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.008481, allocations: 19.95 kB / 0.5515 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.008731, allocations: 68.97 kB / 0.5516 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.008733, allocations: 0 / 0.5516 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.008737, allocations: 4 kB / 0.5516 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.008739, allocations: 0 / 0.5516 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.008873, allocations: 105.3 kB / 0.5517 GB, free: 5.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008874, allocations: 0 / 0.5517 GB, free: 5.449 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.008935, allocations: 8 kB / 0.5517 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008936, allocations: 0 / 0.5517 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.008945, allocations: 7.969 kB / 0.5517 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.008948, allocations: 3.984 kB / 0.5517 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008949, allocations: 0 / 0.5517 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.009217, allocations: 163.4 kB / 0.5519 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.00923, allocations: 7.984 kB / 0.5519 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.009246, allocations: 3.938 kB / 0.5519 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.009321, allocations: 4 kB / 0.5519 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.009362, allocations: 3.984 kB / 0.5519 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.009366, allocations: 4.031 kB / 0.5519 GB, free: 5.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.009423, allocations: 83.28 kB / 0.552 GB, free: 5.148 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.009423, allocations: 0 / 0.552 GB, free: 5.148 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.009652, allocations: 8 kB / 0.552 GB, free: 5.141 MB / 462.1 MB 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.0001814/0.009833, allocations: 111.2 kB / 0.5521 GB, free: 5.023 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.01006, allocations: 35.91 kB / 0.5521 GB, free: 4.988 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01006, allocations: 3.938 kB / 0.5521 GB, free: 4.984 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.212e-05/0.01015, allocations: 24.05 kB / 0.5522 GB, free: 4.961 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.01046, allocations: 11.92 kB / 0.5522 GB, free: 4.949 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.01077, allocations: 101 kB / 0.5523 GB, free: 4.824 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.936e-05/0.01083, allocations: 59.36 kB / 0.5523 GB, free: 4.746 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.07e-05/0.01086, allocations: 7.969 kB / 0.5523 GB, free: 4.738 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.01089, allocations: 8.5 kB / 0.5523 GB, free: 4.73 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01089, allocations: 0 / 0.5523 GB, free: 4.73 MB / 462.1 MB Notification: Performance of Templates: time 0.003277/0.01416, allocations: 0.6158 MB / 0.5529 GB, free: 4.129 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.719732780009508] Failed to read output from testmodel.py, exit status != 0: 0.023304130882024765 0.038307612000000005 0.030150391000000002 Calling exit ...