Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [: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.6916/0.6916, allocations: 132.4 MB / 139.7 MB, free: 15.58 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.001159/0.00116, allocations: 170.5 kB / 171.6 MB, free: 1.973 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.337/1.337, allocations: 170.5 MB / 373.9 MB, free: 15.93 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.002043/0.002043, allocations: 110.1 kB / 444.4 MB, free: 9.445 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.5096/0.5096, allocations: 73.4 MB / 0.666 GB, free: 62.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1414/0.6511, allocations: 100.8 MB / 0.7644 GB, free: 3.496 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.6515, allocations: 82.52 kB / 0.7645 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01392/0.6654, allocations: 4.153 MB / 0.7686 GB, free: 15.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.6655, allocations: 0 / 0.7686 GB, free: 15.33 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004135/0.6659, allocations: 342.4 kB / 0.7689 GB, free: 14.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.666, allocations: 12.03 kB / 0.7689 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.6661, allocations: 2.031 kB / 0.7689 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.6663, allocations: 163 kB / 0.7691 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.6663, allocations: 4 kB / 0.7691 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.6663, allocations: 11.89 kB / 0.7691 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.298e-05/0.6664, allocations: 1.812 kB / 0.7691 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.733e-05/0.6665, allocations: 29.7 kB / 0.7691 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.6665, allocations: 0 / 0.7691 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.6665, allocations: 0 / 0.7691 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6665, allocations: 5.875 kB / 0.7691 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.6667, allocations: 130.2 kB / 0.7692 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.822e-05/0.6668, allocations: 22.61 kB / 0.7693 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.6668, allocations: 12.86 kB / 0.7693 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006949/0.6675, allocations: 461.5 kB / 0.7697 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.6676, allocations: 38.47 kB / 0.7698 GB, free: 13.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.805e-06/0.6676, allocations: 0 / 0.7698 GB, free: 13.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0007241/0.6683, allocations: 238.4 kB / 0.77 GB, free: 13.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.6684, allocations: 55.34 kB / 0.77 GB, free: 13.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.6684, allocations: 89 kB / 0.7701 GB, free: 13.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.6685, allocations: 25.7 kB / 0.7701 GB, free: 13.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.6685, allocations: 84.39 kB / 0.7702 GB, free: 13.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.6686, allocations: 15.8 kB / 0.7702 GB, free: 13.31 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.6686, allocations: 0 / 0.7702 GB, free: 13.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.6687, allocations: 314.8 kB / 0.7705 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.6687, allocations: 4 kB / 0.7705 GB, free: 12.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.6688, allocations: 17.72 kB / 0.7706 GB, free: 12.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/0.6689, allocations: 4 kB / 0.7706 GB, free: 12.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6689, allocations: 4 kB / 0.7706 GB, free: 12.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001409/0.669, allocations: 57.53 kB / 0.7706 GB, free: 12.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.669, allocations: 7 kB / 0.7706 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.6691, allocations: 0 / 0.7706 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.6691, allocations: 0 / 0.7706 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.563e-05/0.6691, allocations: 8 kB / 0.7706 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.6692, allocations: 0 / 0.7706 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/0.6692, allocations: 4.125 kB / 0.7706 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.6692, allocations: 4 kB / 0.7706 GB, free: 12.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.015e-05/0.6693, allocations: 106 kB / 0.7708 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.6693, allocations: 11.89 kB / 0.7708 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.6695, allocations: 54.88 kB / 0.7708 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.6695, allocations: 0 / 0.7708 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6695, allocations: 1.25 kB / 0.7708 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6696, allocations: 0 / 0.7708 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.6697, allocations: 134.2 kB / 0.7709 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6697, allocations: 0 / 0.7709 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.6697, allocations: 7.906 kB / 0.771 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.6698, allocations: 0 / 0.771 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.6698, allocations: 3.984 kB / 0.771 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6698, allocations: 4 kB / 0.771 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6698, allocations: 0.875 kB / 0.771 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001813/0.67, allocations: 77.03 kB / 0.771 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.67, allocations: 81.17 kB / 0.7711 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.67, allocations: 1.125 kB / 0.7711 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/0.6701, allocations: 7.938 kB / 0.7711 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.6701, allocations: 0 / 0.7711 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.6701, allocations: 1.172 kB / 0.7711 GB, free: 12.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.199e-05/0.6702, allocations: 87.2 kB / 0.7712 GB, free: 12.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000249/0.6704, allocations: 31.94 kB / 0.7712 GB, free: 12.2 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 (3): * Single equations (assignments): 3 * 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.0002359/0.6707, allocations: 135.2 kB / 0.7714 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.176e-05/0.6708, allocations: 12.09 kB / 0.7714 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6708, allocations: 0 / 0.7714 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.6708, allocations: 12 kB / 0.7714 GB, free: 12.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.6709, allocations: 4.469 kB / 0.7714 GB, free: 12.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.6712, allocations: 68.2 kB / 0.7715 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.6715, allocations: 0.6876 MB / 0.7721 GB, free: 11.23 MB / 490.7 MB Notification: Performance of SimCode: time 4.9e-07/0.6716, allocations: 0 / 0.7721 GB, free: 11.23 MB / 490.7 MB Notification: Performance of Templates: time 0.003365/0.6749, allocations: 0.8897 MB / 0.773 GB, free: 10.37 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)