Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001004, allocations: 182.8 kB / 7.799 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4393/0.4393, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.201/1.201, allocations: 221.3 MB / 342.7 MB, free: 5.449 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.001001/0.001001, allocations: 101.4 kB / 415.5 MB, free: 6.48 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.726e-06, allocations: 4 kB / 493.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.313, allocations: 72.3 MB / 0.5529 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1067/0.4198, allocations: 100.7 MB / 0.6513 GB, free: 9.312 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.4201, allocations: 75.95 kB / 0.6514 GB, free: 9.238 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01302/0.4331, allocations: 4.219 MB / 0.6555 GB, free: 5.055 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.4332, allocations: 0.6562 kB / 0.6555 GB, free: 5.055 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002787/0.4335, allocations: 349.8 kB / 0.6558 GB, free: 4.672 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.4335, allocations: 8.031 kB / 0.6558 GB, free: 4.664 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.4336, allocations: 4.625 kB / 0.6558 GB, free: 4.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.4337, allocations: 163.5 kB / 0.656 GB, free: 4.461 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4337, allocations: 4 kB / 0.656 GB, free: 4.457 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.4337, allocations: 0.5312 kB / 0.656 GB, free: 4.457 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.628e-05/0.4338, allocations: 0.9062 kB / 0.656 GB, free: 4.457 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.36e-05/0.4339, allocations: 41.59 kB / 0.656 GB, free: 4.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.4339, allocations: 5.812 kB / 0.656 GB, free: 4.406 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.4339, allocations: 0 / 0.656 GB, free: 4.406 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4339, allocations: 4 kB / 0.656 GB, free: 4.402 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.434, allocations: 126.2 kB / 0.6562 GB, free: 4.242 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/0.4341, allocations: 20.39 kB / 0.6562 GB, free: 4.215 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.4341, allocations: 16.86 kB / 0.6562 GB, free: 4.195 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000631/0.4348, allocations: 462.8 kB / 0.6566 GB, free: 3.656 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.4348, allocations: 31.59 kB / 0.6567 GB, free: 3.617 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.4348, allocations: 0 / 0.6567 GB, free: 3.617 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005813/0.4354, allocations: 236.2 kB / 0.6569 GB, free: 3.336 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.4354, allocations: 59.97 kB / 0.6569 GB, free: 3.266 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/0.4355, allocations: 89.72 kB / 0.657 GB, free: 3.172 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.4355, allocations: 26.58 kB / 0.6571 GB, free: 3.141 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.716e-05/0.4355, allocations: 80.14 kB / 0.6571 GB, free: 3.059 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.4356, allocations: 16.45 kB / 0.6571 GB, free: 3.043 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.4356, allocations: 0 / 0.6571 GB, free: 3.043 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4357, allocations: 315.3 kB / 0.6574 GB, free: 2.727 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.4357, allocations: 7 kB / 0.6575 GB, free: 2.723 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.4357, allocations: 18.86 kB / 0.6575 GB, free: 2.699 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.751e-05/0.4358, allocations: 8.938 kB / 0.6575 GB, free: 2.691 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4358, allocations: 0 / 0.6575 GB, free: 2.691 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001155/0.4359, allocations: 50.19 kB / 0.6575 GB, free: 2.637 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.4359, allocations: 4.562 kB / 0.6575 GB, free: 2.633 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.436, allocations: 4.406 kB / 0.6575 GB, free: 2.629 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.436, allocations: 4.594 kB / 0.6575 GB, free: 2.625 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.436, allocations: 4 kB / 0.6575 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.436, allocations: 4.641 kB / 0.6576 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.4361, allocations: 7.984 kB / 0.6576 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.4361, allocations: 0 / 0.6576 GB, free: 2.613 MB / 474.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 5.874e-05/0.4361, allocations: 109.3 kB / 0.6577 GB, free: 2.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.4362, allocations: 7.906 kB / 0.6577 GB, free: 2.492 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.4363, allocations: 53.31 kB / 0.6577 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4364, allocations: 0 / 0.6577 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4364, allocations: 0 / 0.6577 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4364, allocations: 1.125 kB / 0.6577 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.527e-05/0.4365, allocations: 134.2 kB / 0.6579 GB, free: 2.262 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4365, allocations: 7.938 kB / 0.6579 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.4365, allocations: 4 kB / 0.6579 GB, free: 2.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4365, allocations: 0 / 0.6579 GB, free: 2.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.4365, allocations: 7.984 kB / 0.6579 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4366, allocations: 3.906 kB / 0.6579 GB, free: 2.238 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4366, allocations: 1.375 kB / 0.6579 GB, free: 2.238 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000151/0.4367, allocations: 74.91 kB / 0.6579 GB, free: 2.148 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.4368, allocations: 81.02 kB / 0.658 GB, free: 2.051 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.4368, allocations: 4.062 kB / 0.658 GB, free: 2.047 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.4368, allocations: 4 kB / 0.658 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.4368, allocations: 0 / 0.658 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.4369, allocations: 4.031 kB / 0.658 GB, free: 2.039 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.672e-05/0.4369, allocations: 79.28 kB / 0.6581 GB, free: 1.961 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002148/0.4371, allocations: 31.88 kB / 0.6581 GB, free: 1.93 MB / 474.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.0001859/0.4373, allocations: 135.2 kB / 0.6583 GB, free: 1.785 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.287e-05/0.4374, allocations: 16.09 kB / 0.6583 GB, free: 1.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4374, allocations: 0 / 0.6583 GB, free: 1.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.4374, allocations: 4 kB / 0.6583 GB, free: 1.766 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.73e-05/0.4375, allocations: 4 kB / 0.6583 GB, free: 1.762 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001899/0.4377, allocations: 76.11 kB / 0.6584 GB, free: 1.664 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.438, allocations: 0.6876 MB / 0.659 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of SimCode: time 2.2e-07/0.438, allocations: 2.25 kB / 0.659 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of Templates: time 0.00262/0.4406, allocations: 0.8815 MB / 0.6599 GB, free: 108 kB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)