Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001168/0.001168, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001643/0.002811, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001164/0.001164, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.002669, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.075/1.075, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09693/1.172, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.863/1.863, allocations: 389.9 MB / 0.619 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5072/2.37, allocations: 127.1 MB / 0.7432 GB, free: 4.605 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7445 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.682e-05, allocations: 6.25 kB / 0.7445 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001791/0.001807, allocations: 1.555 MB / 0.746 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005513/0.002359, allocations: 497 kB / 0.7465 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.002386, allocations: 4 kB / 0.7465 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.002406, allocations: 0 / 0.7465 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.376e-05/0.00244, allocations: 5.578 kB / 0.7465 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.002544, allocations: 29 kB / 0.7465 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.876e-05/0.002603, allocations: 24.92 kB / 0.7465 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.674e-05/0.002679, allocations: 11.77 kB / 0.7465 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.002757, allocations: 22.11 kB / 0.7466 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.612e-05/0.002793, allocations: 8.859 kB / 0.7466 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.002804, allocations: 4 kB / 0.7466 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.656e-05/0.002871, allocations: 12.64 kB / 0.7466 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.002883, allocations: 5.859 kB / 0.7466 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.334e-05/0.002896, allocations: 4.766 kB / 0.7466 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.35e-05/0.00299, allocations: 22.28 kB / 0.7466 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.449e-05/0.003004, allocations: 0 / 0.7466 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003005, allocations: 0 / 0.7466 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.003022, allocations: 4 kB / 0.7466 GB, free: 1.145 MB / 0.7136 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.000616/0.003638, allocations: 247.2 kB / 0.7469 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.003668, allocations: 8.797 kB / 0.7469 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.003875, allocations: 94.03 kB / 0.747 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.26e-05/0.003948, allocations: 105.7 kB / 0.7471 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.003958, allocations: 8.359 kB / 0.7471 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.003966, allocations: 384 / 0.7471 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.962e-05/0.004055, allocations: 55.45 kB / 0.7471 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.004062, allocations: 2 kB / 0.7471 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.004069, allocations: 1.031 kB / 0.7471 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.004075, allocations: 7.922 kB / 0.7471 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.307e-05/0.004098, allocations: 4 kB / 0.7471 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.004292, allocations: 152.3 kB / 0.7473 GB, free: 400 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.308e-05/0.004336, allocations: 25.02 kB / 0.7473 GB, free: 368 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.306e-05/0.004349, allocations: 8.797 kB / 0.7473 GB, free: 356 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.004368, allocations: 5.188 kB / 0.7473 GB, free: 352 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.004386, allocations: 38.66 kB / 0.7474 GB, free: 304 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.004387, allocations: 0 / 0.7474 GB, free: 304 kB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.982e-05/0.004487, allocations: 42.67 kB / 0.7474 GB, free: 256 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.004513, allocations: 51.41 kB / 0.7474 GB, free: 192 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.191e-05/0.004565, allocations: 110.7 kB / 0.7476 GB, free: 68 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.004574, allocations: 26.7 kB / 0.7476 GB, free: 36 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.004613, allocations: 84.09 kB / 0.7477 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.004627, allocations: 8.547 kB / 0.7477 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.004651, allocations: 13.7 kB / 0.7477 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.625e-05/0.004718, allocations: 319.5 kB / 0.748 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-06/0.004727, allocations: 0.5469 kB / 0.748 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.004737, allocations: 5.5 kB / 0.748 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.004765, allocations: 20.83 kB / 0.748 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004767, allocations: 1.125 kB / 0.748 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.293e-05/0.00481, allocations: 37.7 kB / 0.748 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.004821, allocations: 4.656 kB / 0.7481 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.004825, allocations: 1.062 kB / 0.7481 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.004836, allocations: 3.938 kB / 0.7481 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.004915, allocations: 13.14 kB / 0.7481 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.004917, allocations: 3.938 kB / 0.7481 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.004939, allocations: 4 kB / 0.7481 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.004943, allocations: 5.047 kB / 0.7481 GB, free: 15.5 MB / 0.7292 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.772e-05/0.004991, allocations: 110.5 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.005003, allocations: 0.9688 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.005029, allocations: 7.312 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.005031, allocations: 5.375 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.005034, allocations: 0.6562 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005036, allocations: 0 / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.121e-05/0.005117, allocations: 73.89 kB / 0.7483 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.005119, allocations: 0.6562 kB / 0.7483 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.005148, allocations: 4.688 kB / 0.7483 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.005154, allocations: 4 kB / 0.7483 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.005155, allocations: 2.156 kB / 0.7483 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.00516, allocations: 0 / 0.7483 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.005162, allocations: 7.922 kB / 0.7483 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.005163, allocations: 0 / 0.7483 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.888e-05/0.005242, allocations: 136.2 kB / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.005251, allocations: 3.984 kB / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.005287, allocations: 4.5 kB / 0.7484 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.005309, allocations: 3.938 kB / 0.7484 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.005311, allocations: 0.625 kB / 0.7484 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.382e-05/0.005325, allocations: 23.98 kB / 0.7485 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.31e-07/0.005325, allocations: 0 / 0.7485 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001091/0.005435, allocations: 4 kB / 0.7485 GB, free: 15.08 MB / 0.7292 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 7.528e-05/0.00551, allocations: 76.42 kB / 0.7485 GB, free: 15 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.663e-05/0.005566, allocations: 12.86 kB / 0.7485 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.00557, allocations: 0 / 0.7485 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.005586, allocations: 19.53 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.005723, allocations: 7.125 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.006045, allocations: 112.7 kB / 0.7487 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.874e-05/0.006074, allocations: 55.34 kB / 0.7487 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.006102, allocations: 6.688 kB / 0.7487 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.00615, allocations: 55.39 kB / 0.7488 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of SimCode: time 3.71e-07/0.00615, allocations: 0.8438 kB / 0.7488 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of Templates: time 0.001966/0.008117, allocations: 0.619 MB / 0.7494 GB, free: 14.1 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.000478864647448]