Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential") translateModel(IBPSA.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential") [: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.00171/0.00171, allocations: 184.3 kB / 7.803 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4515/0.4515, allocations: 90.85 MB / 99.08 MB, free: 14.93 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.161/1.161, allocations: 221.4 MB / 342.7 MB, free: 5.25 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.0008757/0.0008757, allocations: 86.64 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.774e-06/7.794e-06, allocations: 4 kB / 493.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3029, allocations: 72.29 MB / 0.5529 GB, free: 73.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.4076, allocations: 100.8 MB / 0.6513 GB, free: 9.297 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.4079, allocations: 79.94 kB / 0.6514 GB, free: 9.219 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003724/0.4116, allocations: 1.042 MB / 0.6524 GB, free: 8.199 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.4117, allocations: 4.5 kB / 0.6524 GB, free: 8.195 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.000333/0.412, allocations: 353.6 kB / 0.6527 GB, free: 7.809 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.4121, allocations: 9.625 kB / 0.6528 GB, free: 7.801 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.4121, allocations: 0.8125 kB / 0.6528 GB, free: 7.801 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.4122, allocations: 170.9 kB / 0.6529 GB, free: 7.594 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.4122, allocations: 6.469 kB / 0.6529 GB, free: 7.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.4123, allocations: 0 / 0.6529 GB, free: 7.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.554e-05/0.4123, allocations: 12 kB / 0.6529 GB, free: 7.578 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.115e-05/0.4124, allocations: 38.62 kB / 0.653 GB, free: 7.535 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.4124, allocations: 0 / 0.653 GB, free: 7.535 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.4124, allocations: 1.125 kB / 0.653 GB, free: 7.535 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4124, allocations: 0 / 0.653 GB, free: 7.535 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.4128, allocations: 252.1 kB / 0.6532 GB, free: 7.254 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.992e-05/0.4129, allocations: 23.77 kB / 0.6532 GB, free: 7.223 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.4129, allocations: 13.48 kB / 0.6533 GB, free: 7.207 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.075e-05/0.413, allocations: 81.95 kB / 0.6533 GB, free: 7.109 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.413, allocations: 31.5 kB / 0.6534 GB, free: 7.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 2.445e-06/0.4131, allocations: 3.984 kB / 0.6534 GB, free: 7.066 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001734/0.4132, allocations: 46.64 kB / 0.6534 GB, free: 7.016 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.4133, allocations: 56.8 kB / 0.6535 GB, free: 6.949 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.858e-05/0.4133, allocations: 99.44 kB / 0.6536 GB, free: 6.848 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.4134, allocations: 25.7 kB / 0.6536 GB, free: 6.816 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.4134, allocations: 80.95 kB / 0.6537 GB, free: 6.734 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.4134, allocations: 3.906 kB / 0.6537 GB, free: 6.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.4134, allocations: 0.9375 kB / 0.6537 GB, free: 6.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4136, allocations: 314.8 kB / 0.654 GB, free: 6.414 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.4136, allocations: 4.938 kB / 0.654 GB, free: 6.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.4136, allocations: 11.98 kB / 0.654 GB, free: 6.395 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.4136, allocations: 5.062 kB / 0.654 GB, free: 6.391 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4136, allocations: 0 / 0.654 GB, free: 6.391 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.14e-05/0.4137, allocations: 38.45 kB / 0.654 GB, free: 6.348 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.4138, allocations: 9.094 kB / 0.654 GB, free: 6.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.4138, allocations: 0 / 0.654 GB, free: 6.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.4138, allocations: 7.844 kB / 0.654 GB, free: 6.332 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.213e-05/0.4139, allocations: 15.86 kB / 0.6541 GB, free: 6.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.4139, allocations: 0.5312 kB / 0.6541 GB, free: 6.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.736e-05/0.414, allocations: 13.45 kB / 0.6541 GB, free: 6.309 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.414, allocations: 3.172 kB / 0.6541 GB, free: 6.309 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 6.687e-05/0.414, allocations: 105.5 kB / 0.6542 GB, free: 6.199 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.4141, allocations: 4.406 kB / 0.6542 GB, free: 6.195 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.4142, allocations: 49.78 kB / 0.6542 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4142, allocations: 4.531 kB / 0.6542 GB, free: 6.137 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4142, allocations: 0 / 0.6542 GB, free: 6.137 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4142, allocations: 0.5 kB / 0.6542 GB, free: 6.137 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.4144, allocations: 144.6 kB / 0.6544 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4144, allocations: 0 / 0.6544 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.692e-05/0.4144, allocations: 12.19 kB / 0.6544 GB, free: 5.953 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4144, allocations: 0 / 0.6544 GB, free: 5.953 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.4145, allocations: 3.906 kB / 0.6544 GB, free: 5.949 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4145, allocations: 7.938 kB / 0.6544 GB, free: 5.941 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4145, allocations: 3.984 kB / 0.6544 GB, free: 5.938 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001088/0.4146, allocations: 136.2 kB / 0.6545 GB, free: 5.789 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.4146, allocations: 81.02 kB / 0.6546 GB, free: 5.691 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.4147, allocations: 0.7812 kB / 0.6546 GB, free: 5.691 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.4147, allocations: 12.98 kB / 0.6546 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.4148, allocations: 0.625 kB / 0.6546 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.4148, allocations: 0.9062 kB / 0.6546 GB, free: 5.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.193e-05/0.4148, allocations: 88.58 kB / 0.6547 GB, free: 5.594 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.4151, allocations: 24.12 kB / 0.6547 GB, free: 5.57 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.0001728/0.4153, allocations: 99.25 kB / 0.6548 GB, free: 5.465 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.77e-05/0.4153, allocations: 15.94 kB / 0.6548 GB, free: 5.449 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4153, allocations: 0 / 0.6548 GB, free: 5.449 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-05/0.4154, allocations: 11 kB / 0.6548 GB, free: 5.441 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.4156, allocations: 7.891 kB / 0.6548 GB, free: 5.434 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.4158, allocations: 59.91 kB / 0.6549 GB, free: 5.352 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.416, allocations: 0.6919 MB / 0.6556 GB, free: 4.633 MB / 474.7 MB Notification: Performance of SimCode: time 3.7e-07/0.416, allocations: 0 / 0.6556 GB, free: 4.633 MB / 474.7 MB Notification: Performance of Templates: time 0.002192/0.4182, allocations: 0.5328 MB / 0.6561 GB, free: 4.129 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)