Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [: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/Buildings 3.0.0/package.mo): time 0.7664/0.7664, allocations: 132.4 MB / 139.7 MB, free: 15.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001277/0.001278, allocations: 170.2 kB / 171.6 MB, free: 1.992 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.434/1.434, allocations: 170.5 MB / 373.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001706/0.001706, allocations: 111.9 kB / 444.4 MB, free: 9.391 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.3735/0.3735, allocations: 73.4 MB / 0.666 GB, free: 62.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.4973, allocations: 100.4 MB / 0.764 GB, free: 3.879 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.4976, allocations: 75.95 kB / 0.7641 GB, free: 3.805 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.005595/0.5032, allocations: 1.686 MB / 0.7658 GB, free: 2.168 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.5032, allocations: 0 / 0.7658 GB, free: 2.168 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003994/0.5036, allocations: 337 kB / 0.7661 GB, free: 1.797 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.5037, allocations: 8.531 kB / 0.7661 GB, free: 1.789 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.5037, allocations: 2.031 kB / 0.7661 GB, free: 1.789 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.5039, allocations: 164.3 kB / 0.7662 GB, free: 1.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.5039, allocations: 4 kB / 0.7663 GB, free: 1.586 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.5039, allocations: 3.984 kB / 0.7663 GB, free: 1.582 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.517e-05/0.504, allocations: 12.62 kB / 0.7663 GB, free: 1.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/0.5041, allocations: 42.22 kB / 0.7663 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.5041, allocations: 0.5312 kB / 0.7663 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.5041, allocations: 0.75 kB / 0.7663 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.5041, allocations: 0.5938 kB / 0.7663 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.5043, allocations: 142.7 kB / 0.7664 GB, free: 1.348 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.125e-05/0.5044, allocations: 31.59 kB / 0.7665 GB, free: 1.312 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.5044, allocations: 17.89 kB / 0.7665 GB, free: 1.293 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.5046, allocations: 85.09 kB / 0.7666 GB, free: 1.191 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/0.5046, allocations: 35.34 kB / 0.7666 GB, free: 1.148 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 3.316e-06/0.5046, allocations: 2.453 kB / 0.7666 GB, free: 1.148 MB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.001255/0.5059, allocations: 439.4 kB / 0.767 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.506, allocations: 55.41 kB / 0.7671 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.542e-05/0.5061, allocations: 85 kB / 0.7672 GB, free: 0.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.5061, allocations: 25.7 kB / 0.7672 GB, free: 480 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.5061, allocations: 84.12 kB / 0.7673 GB, free: 392 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.5062, allocations: 27.56 kB / 0.7673 GB, free: 364 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.5062, allocations: 4.125 kB / 0.7673 GB, free: 360 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5064, allocations: 314.8 kB / 0.7676 GB, free: 36 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/0.5064, allocations: 10.16 kB / 0.7676 GB, free: 28 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.5064, allocations: 22.39 kB / 0.7676 GB, free: 8 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.924e-05/0.5065, allocations: 8 kB / 0.7676 GB, free: 0 / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5065, allocations: 0 / 0.7676 GB, free: 0 / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001177/0.5066, allocations: 65.62 kB / 0.7677 GB, free: 15.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5067, allocations: 8 kB / 0.7677 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.5067, allocations: 3.906 kB / 0.7677 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.5067, allocations: 0 / 0.7677 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.5068, allocations: 19.98 kB / 0.7677 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.5068, allocations: 0 / 0.7677 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.5069, allocations: 0 / 0.7677 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.5069, allocations: 4 kB / 0.7677 GB, free: 15.89 MB / 490.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 (8): * Single equations (assignments): 8 * 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.461e-05/0.5069, allocations: 101.9 kB / 0.7678 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.507, allocations: 3.906 kB / 0.7678 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.5071, allocations: 83.22 kB / 0.7679 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5072, allocations: 4 kB / 0.7679 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5072, allocations: 0 / 0.7679 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.5072, allocations: 0 / 0.7679 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.5073, allocations: 146.2 kB / 0.7681 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5073, allocations: 0 / 0.7681 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.5074, allocations: 16 kB / 0.7681 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.5074, allocations: 3.906 kB / 0.7681 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.5074, allocations: 3.984 kB / 0.7681 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5074, allocations: 2.531 kB / 0.7681 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5074, allocations: 0 / 0.7681 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000182/0.5076, allocations: 110.6 kB / 0.7682 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.5077, allocations: 82.75 kB / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.5077, allocations: 3.984 kB / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.39e-05/0.5078, allocations: 0 / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.5078, allocations: 8 kB / 0.7683 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-06/0.5078, allocations: 3.906 kB / 0.7683 GB, free: 15.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.985e-05/0.5078, allocations: 79.28 kB / 0.7684 GB, free: 15.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.5081, allocations: 44.08 kB / 0.7684 GB, free: 15.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002474/0.5083, allocations: 135.2 kB / 0.7685 GB, free: 14.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.758e-05/0.5085, allocations: 35.94 kB / 0.7686 GB, free: 14.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5085, allocations: 0 / 0.7686 GB, free: 14.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.5085, allocations: 16 kB / 0.7686 GB, free: 14.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.5086, allocations: 7.75 kB / 0.7686 GB, free: 14.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.5089, allocations: 92.25 kB / 0.7687 GB, free: 14.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.5093, allocations: 0.6957 MB / 0.7694 GB, free: 14.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5093, allocations: 0 / 0.7694 GB, free: 14.1 MB / 490.7 MB Notification: Performance of Templates: time 0.003065/0.5124, allocations: 0.8719 MB / 0.7702 GB, free: 13.29 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)