Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 187 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4425/0.4425, allocations: 90.85 MB / 99.07 MB, free: 14.86 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 221.4 MB / 342.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000892/0.000892, allocations: 94.45 kB / 415.5 MB, free: 9.809 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.686e-06, allocations: 4 kB / 493.9 MB, free: 11.53 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3103, allocations: 72.31 MB / 0.5529 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.449, allocations: 101.5 MB / 0.652 GB, free: 7.188 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.4493, allocations: 68.91 kB / 0.652 GB, free: 7.121 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.004542/0.4538, allocations: 1.116 MB / 0.6531 GB, free: 6.016 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.4539, allocations: 0 / 0.6531 GB, free: 6.016 MB / 474.7 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.0003726/0.4543, allocations: 350.2 kB / 0.6535 GB, free: 5.629 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.4543, allocations: 16.03 kB / 0.6535 GB, free: 5.613 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.4544, allocations: 0 / 0.6535 GB, free: 5.613 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.4545, allocations: 167 kB / 0.6536 GB, free: 5.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4546, allocations: 0 / 0.6536 GB, free: 5.41 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.4546, allocations: 4.734 kB / 0.6536 GB, free: 5.406 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.596e-05/0.4547, allocations: 15.94 kB / 0.6537 GB, free: 5.391 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.619e-05/0.4548, allocations: 33.69 kB / 0.6537 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4548, allocations: 0 / 0.6537 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.4548, allocations: 0 / 0.6537 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.4548, allocations: 3.906 kB / 0.6537 GB, free: 5.348 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.4552, allocations: 249.4 kB / 0.6539 GB, free: 5.066 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.225e-05/0.4553, allocations: 22.58 kB / 0.654 GB, free: 5.035 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.4553, allocations: 8.922 kB / 0.654 GB, free: 5.023 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007535/0.456, allocations: 481.5 kB / 0.6544 GB, free: 4.461 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.4561, allocations: 32.47 kB / 0.6545 GB, free: 4.422 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.973e-06/0.4561, allocations: 0 / 0.6545 GB, free: 4.422 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004051/0.4565, allocations: 85.55 kB / 0.6545 GB, free: 4.332 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.4565, allocations: 55.41 kB / 0.6546 GB, free: 4.266 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.4566, allocations: 100.9 kB / 0.6547 GB, free: 4.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.4567, allocations: 29.69 kB / 0.6547 GB, free: 4.125 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.4567, allocations: 84.14 kB / 0.6548 GB, free: 4.039 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.4567, allocations: 3.906 kB / 0.6548 GB, free: 4.035 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-06/0.4567, allocations: 0 / 0.6548 GB, free: 4.035 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.4569, allocations: 318.9 kB / 0.6551 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.4569, allocations: 4 kB / 0.6551 GB, free: 3.711 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.4569, allocations: 4 kB / 0.6551 GB, free: 3.707 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.4571, allocations: 56 kB / 0.6552 GB, free: 3.652 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4571, allocations: 2.719 kB / 0.6552 GB, free: 3.652 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002546/0.4574, allocations: 77.56 kB / 0.6552 GB, free: 3.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4574, allocations: 8 kB / 0.6552 GB, free: 3.562 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4574, allocations: 4.031 kB / 0.6553 GB, free: 3.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4574, allocations: 3.984 kB / 0.6553 GB, free: 3.555 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.4575, allocations: 4 kB / 0.6553 GB, free: 3.551 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4575, allocations: 0 / 0.6553 GB, free: 3.551 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.4576, allocations: 4.562 kB / 0.6553 GB, free: 3.547 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.4576, allocations: 0 / 0.6553 GB, free: 3.547 MB / 474.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/0.4577, allocations: 116.8 kB / 0.6554 GB, free: 3.426 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.4577, allocations: 7.984 kB / 0.6554 GB, free: 3.418 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.458, allocations: 90.08 kB / 0.6555 GB, free: 3.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.458, allocations: 3.906 kB / 0.6555 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4581, allocations: 0 / 0.6555 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4581, allocations: 7.969 kB / 0.6555 GB, free: 3.309 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.4582, allocations: 139.2 kB / 0.6556 GB, free: 3.137 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4582, allocations: 0 / 0.6556 GB, free: 3.137 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.4583, allocations: 7.984 kB / 0.6556 GB, free: 3.129 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4583, allocations: 0 / 0.6556 GB, free: 3.129 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.4583, allocations: 0 / 0.6556 GB, free: 3.129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.4583, allocations: 4 kB / 0.6556 GB, free: 3.125 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4583, allocations: 4 kB / 0.6556 GB, free: 3.121 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002888/0.4586, allocations: 187.3 kB / 0.6558 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.4587, allocations: 81.02 kB / 0.6559 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.4587, allocations: 0 / 0.6559 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.4588, allocations: 12.02 kB / 0.6559 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.4588, allocations: 0 / 0.6559 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.4588, allocations: 0 / 0.6559 GB, free: 2.812 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.935e-05/0.4588, allocations: 90.48 kB / 0.656 GB, free: 2.727 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.4591, allocations: 21.34 kB / 0.656 GB, free: 2.707 MB / 474.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002169/0.4593, allocations: 123.2 kB / 0.6561 GB, free: 2.578 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.303e-05/0.4594, allocations: 12 kB / 0.6561 GB, free: 2.566 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4594, allocations: 4.062 kB / 0.6561 GB, free: 2.562 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.337e-05/0.4595, allocations: 15.92 kB / 0.6562 GB, free: 2.547 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.4596, allocations: 7.906 kB / 0.6562 GB, free: 2.539 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.4598, allocations: 59.78 kB / 0.6562 GB, free: 2.457 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.4601, allocations: 0.688 MB / 0.6569 GB, free: 1.742 MB / 474.7 MB Notification: Performance of SimCode: time 4.6e-07/0.4601, allocations: 4 kB / 0.6569 GB, free: 1.738 MB / 474.7 MB Notification: Performance of Templates: time 0.002524/0.4626, allocations: 0.6531 MB / 0.6575 GB, free: 1.105 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)