Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [: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 1.6.0+build.1/package.mo): time 0.4982/0.4982, allocations: 94.74 MB / 102 MB, free: 10.39 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001232/0.001233, allocations: 172.7 kB / 125.3 MB, free: 12.02 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.296/1.296, allocations: 170.5 MB / 319 MB, free: 9.367 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001834/0.001834, allocations: 110.8 kB / 381 MB, free: 18.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.898e-06/1.005e-05, allocations: 0 / 448.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.149, allocations: 61.52 MB / 0.4981 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.5247, allocations: 92.3 MB / 0.5883 GB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.525, allocations: 71.95 kB / 0.5883 GB, free: 10.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.002227/0.5272, allocations: 0.6175 MB / 0.5889 GB, free: 9.422 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.5273, allocations: 0 / 0.5889 GB, free: 9.422 MB / 410.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.0002678/0.5275, allocations: 319.9 kB / 0.5893 GB, free: 9.066 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.5276, allocations: 9.031 kB / 0.5893 GB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.5276, allocations: 0 / 0.5893 GB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.401e-05/0.5277, allocations: 164.8 kB / 0.5894 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.5278, allocations: 1.562 kB / 0.5894 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.5278, allocations: 4 kB / 0.5894 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.443e-05/0.5279, allocations: 4 kB / 0.5894 GB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.229e-05/0.528, allocations: 39.34 kB / 0.5895 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.528, allocations: 0 / 0.5895 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.528, allocations: 2.656 kB / 0.5895 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.528, allocations: 0.9375 kB / 0.5895 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.5281, allocations: 130 kB / 0.5896 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.347e-05/0.5282, allocations: 38.55 kB / 0.5896 GB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.5283, allocations: 8.922 kB / 0.5896 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000371/0.5286, allocations: 409.5 kB / 0.59 GB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.5287, allocations: 43.06 kB / 0.5901 GB, free: 8.051 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.5287, allocations: 0 / 0.5901 GB, free: 8.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001708/0.5289, allocations: 39.66 kB / 0.5901 GB, free: 8.008 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.5289, allocations: 54.12 kB / 0.5902 GB, free: 7.945 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.946e-05/0.529, allocations: 85 kB / 0.5902 GB, free: 7.855 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.529, allocations: 25.7 kB / 0.5903 GB, free: 7.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.529, allocations: 80.14 kB / 0.5903 GB, free: 7.742 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.529, allocations: 11.91 kB / 0.5904 GB, free: 7.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.5291, allocations: 0 / 0.5904 GB, free: 7.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5292, allocations: 316.8 kB / 0.5907 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.5292, allocations: 0 / 0.5907 GB, free: 7.414 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.5292, allocations: 4 kB / 0.5907 GB, free: 7.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.5293, allocations: 11.98 kB / 0.5907 GB, free: 7.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.5293, allocations: 4.75 kB / 0.5907 GB, free: 7.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000115/0.5294, allocations: 34.45 kB / 0.5907 GB, free: 7.355 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5294, allocations: 8.844 kB / 0.5907 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5294, allocations: 0 / 0.5907 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.5294, allocations: 5.172 kB / 0.5907 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.5296, allocations: 8 kB / 0.5907 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003823/0.53, allocations: 0.5927 MB / 0.5913 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.53, allocations: 0 / 0.5913 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.53, allocations: 3.984 kB / 0.5913 GB, free: 6.719 MB / 410.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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.952e-05/0.5301, allocations: 108.9 kB / 0.5914 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.5301, allocations: 4.031 kB / 0.5914 GB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.5303, allocations: 51.05 kB / 0.5915 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5303, allocations: 0 / 0.5915 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5303, allocations: 0 / 0.5915 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5303, allocations: 0 / 0.5915 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.433e-05/0.5304, allocations: 134.2 kB / 0.5916 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5304, allocations: 0 / 0.5916 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.5305, allocations: 8 kB / 0.5916 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5305, allocations: 0 / 0.5916 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.5305, allocations: 4.562 kB / 0.5916 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003133/0.5308, allocations: 0.5941 MB / 0.5922 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5308, allocations: 1.156 kB / 0.5922 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.184e-05/0.5309, allocations: 77.38 kB / 0.5923 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.531, allocations: 77.11 kB / 0.5923 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.531, allocations: 0 / 0.5923 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/0.531, allocations: 4.5 kB / 0.5923 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.531, allocations: 0.8125 kB / 0.5923 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.531, allocations: 0 / 0.5923 GB, free: 5.574 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.632e-05/0.5311, allocations: 76.12 kB / 0.5924 GB, free: 5.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001912/0.5313, allocations: 8 kB / 0.5924 GB, free: 5.492 MB / 410.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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001783/0.5315, allocations: 116 kB / 0.5925 GB, free: 5.371 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.5316, allocations: 23.98 kB / 0.5926 GB, free: 5.348 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5316, allocations: 0 / 0.5926 GB, free: 5.348 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.043e-05/0.5317, allocations: 12 kB / 0.5926 GB, free: 5.336 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.5318, allocations: 7.594 kB / 0.5926 GB, free: 5.332 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001893/0.532, allocations: 52 kB / 0.5926 GB, free: 5.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.5323, allocations: 0.6837 MB / 0.5933 GB, free: 4.551 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5323, allocations: 4 kB / 0.5933 GB, free: 4.547 MB / 410.7 MB Notification: Performance of Templates: time 0.002371/0.5347, allocations: 0.5299 MB / 0.5938 GB, free: 4.051 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)