Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.001239, allocations: 188 kB / 7.809 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4739/0.4739, allocations: 90.85 MB / 99.07 MB, free: 15.07 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.187/1.187, allocations: 221.4 MB / 342.8 MB, free: 5.203 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.0009404/0.0009405, allocations: 99.12 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.119e-05/1.121e-05, allocations: 4 kB / 493.9 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3339, allocations: 72.32 MB / 0.5529 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.4452, allocations: 100 MB / 0.6506 GB, free: 10.03 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.4455, allocations: 75.95 kB / 0.6507 GB, free: 9.953 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.002359/0.4478, allocations: 0.6303 MB / 0.6513 GB, free: 9.336 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.4479, allocations: 0 / 0.6513 GB, free: 9.336 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.0002593/0.4481, allocations: 319.9 kB / 0.6516 GB, free: 8.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4482, allocations: 8.031 kB / 0.6516 GB, free: 8.973 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.4482, allocations: 3.906 kB / 0.6516 GB, free: 8.969 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.16e-05/0.4483, allocations: 164.8 kB / 0.6517 GB, free: 8.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4484, allocations: 0 / 0.6517 GB, free: 8.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.4484, allocations: 4 kB / 0.6517 GB, free: 8.766 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.087e-05/0.4485, allocations: 9.562 kB / 0.6518 GB, free: 8.758 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.4485, allocations: 38.91 kB / 0.6518 GB, free: 8.715 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.4485, allocations: 0 / 0.6518 GB, free: 8.715 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.4486, allocations: 0 / 0.6518 GB, free: 8.715 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4486, allocations: 4.594 kB / 0.6518 GB, free: 8.711 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.4487, allocations: 127.8 kB / 0.6519 GB, free: 8.551 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.289e-05/0.4488, allocations: 34.61 kB / 0.6519 GB, free: 8.508 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.4488, allocations: 5.766 kB / 0.652 GB, free: 8.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/0.4492, allocations: 402.3 kB / 0.6523 GB, free: 8.016 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.4492, allocations: 47.61 kB / 0.6524 GB, free: 7.961 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 3.447e-06/0.4492, allocations: 3.984 kB / 0.6524 GB, free: 7.957 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001704/0.4494, allocations: 34.39 kB / 0.6524 GB, free: 7.918 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.4494, allocations: 52 kB / 0.6525 GB, free: 7.855 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.901e-05/0.4495, allocations: 85.59 kB / 0.6526 GB, free: 7.766 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.4495, allocations: 25.7 kB / 0.6526 GB, free: 7.734 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.357e-05/0.4495, allocations: 88 kB / 0.6527 GB, free: 7.648 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.4496, allocations: 15.81 kB / 0.6527 GB, free: 7.633 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.4496, allocations: 0.5312 kB / 0.6527 GB, free: 7.633 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4497, allocations: 311.5 kB / 0.653 GB, free: 7.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-06/0.4497, allocations: 2.094 kB / 0.653 GB, free: 7.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.002e-05/0.4497, allocations: 4 kB / 0.653 GB, free: 7.316 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.4498, allocations: 4 kB / 0.653 GB, free: 7.312 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4498, allocations: 0 / 0.653 GB, free: 7.312 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.946e-05/0.4499, allocations: 45.62 kB / 0.653 GB, free: 7.262 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4499, allocations: 8.625 kB / 0.653 GB, free: 7.254 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4499, allocations: 0 / 0.653 GB, free: 7.254 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4499, allocations: 5.062 kB / 0.653 GB, free: 7.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.4501, allocations: 11.98 kB / 0.653 GB, free: 7.238 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003577/0.4504, allocations: 0.584 MB / 0.6536 GB, free: 6.633 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/0.4505, allocations: 3.938 kB / 0.6536 GB, free: 6.629 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.4505, allocations: 2.562 kB / 0.6536 GB, free: 6.629 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 (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 9.508e-05/0.4506, allocations: 106.7 kB / 0.6537 GB, free: 6.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.4506, allocations: 4.031 kB / 0.6537 GB, free: 6.516 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.4508, allocations: 53.14 kB / 0.6538 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4508, allocations: 0.6875 kB / 0.6538 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4508, allocations: 0 / 0.6538 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4508, allocations: 0.6875 kB / 0.6538 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.91e-05/0.4509, allocations: 130.2 kB / 0.6539 GB, free: 6.289 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4509, allocations: 0.625 kB / 0.6539 GB, free: 6.289 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.781e-05/0.451, allocations: 13.86 kB / 0.6539 GB, free: 6.277 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.451, allocations: 0.8125 kB / 0.6539 GB, free: 6.277 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.451, allocations: 8 kB / 0.6539 GB, free: 6.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000287/0.4513, allocations: 0.5841 MB / 0.6545 GB, free: 5.664 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4513, allocations: 0.9062 kB / 0.6545 GB, free: 5.664 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.542e-05/0.4514, allocations: 70 kB / 0.6546 GB, free: 5.578 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.4515, allocations: 85 kB / 0.6546 GB, free: 5.477 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.4515, allocations: 2.562 kB / 0.6547 GB, free: 5.477 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.4515, allocations: 4 kB / 0.6547 GB, free: 5.473 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.4515, allocations: 1.219 kB / 0.6547 GB, free: 5.473 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.4515, allocations: 0 / 0.6547 GB, free: 5.473 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.452e-05/0.4516, allocations: 76.5 kB / 0.6547 GB, free: 5.398 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002004/0.4518, allocations: 4 kB / 0.6547 GB, free: 5.395 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 (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.000162/0.452, allocations: 108.3 kB / 0.6548 GB, free: 5.281 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.4521, allocations: 24.84 kB / 0.6549 GB, free: 5.258 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4521, allocations: 0 / 0.6549 GB, free: 5.258 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/0.4522, allocations: 24.42 kB / 0.6549 GB, free: 5.234 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001035/0.4524, allocations: 3.969 kB / 0.6549 GB, free: 5.234 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002001/0.4526, allocations: 57.88 kB / 0.6549 GB, free: 5.156 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.4528, allocations: 0.6837 MB / 0.6556 GB, free: 4.449 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4528, allocations: 0 / 0.6556 GB, free: 4.449 MB / 474.7 MB Notification: Performance of Templates: time 0.002411/0.4552, allocations: 0.5251 MB / 0.6561 GB, free: 3.965 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)