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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 119 kB / 17.09 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 192.7 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.718/0.718, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 65.09 kB / 0.5584 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1431, allocations: 76.19 MB / 0.6328 GB, free: 4.488 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001665/0.1448, allocations: 0.5711 MB / 0.6333 GB, free: 3.922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002866/0.1451, allocations: 87.73 kB / 0.6334 GB, free: 3.836 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.1451, allocations: 0 / 0.6334 GB, free: 3.836 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.1451, allocations: 0 / 0.6334 GB, free: 3.836 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.423e-05/0.1452, allocations: 7.938 kB / 0.6334 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.1454, allocations: 15.98 kB / 0.6334 GB, free: 3.812 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.1455, allocations: 15.91 kB / 0.6335 GB, free: 3.797 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.1456, allocations: 4 kB / 0.6335 GB, free: 3.793 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.748e-05/0.1456, allocations: 3.938 kB / 0.6335 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.251e-05/0.1457, allocations: 4 kB / 0.6335 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1457, allocations: 0 / 0.6335 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.24e-05/0.1457, allocations: 15.98 kB / 0.6335 GB, free: 3.77 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.1458, allocations: 0 / 0.6335 GB, free: 3.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.1458, allocations: 7.984 kB / 0.6335 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.115e-05/0.1459, allocations: 27.89 kB / 0.6335 GB, free: 3.734 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1459, allocations: 0 / 0.6335 GB, free: 3.734 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1459, allocations: 0 / 0.6335 GB, free: 3.734 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1459, allocations: 0 / 0.6335 GB, free: 3.734 MB / 478.1 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.0003712/0.1463, allocations: 323.9 kB / 0.6338 GB, free: 3.367 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1463, allocations: 12.03 kB / 0.6338 GB, free: 3.355 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.1465, allocations: 8.922 kB / 0.6338 GB, free: 3.348 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/0.1466, allocations: 160.4 kB / 0.634 GB, free: 3.152 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1466, allocations: 384 / 0.634 GB, free: 3.152 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1466, allocations: 8.375 kB / 0.634 GB, free: 3.145 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1468, allocations: 42.23 kB / 0.634 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1468, allocations: 192 / 0.634 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1468, allocations: 3.938 kB / 0.6341 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1468, allocations: 0 / 0.6341 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.662e-05/0.1469, allocations: 11.98 kB / 0.6341 GB, free: 3.082 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.147, allocations: 153.7 kB / 0.6342 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1472, allocations: 42.55 kB / 0.6342 GB, free: 2.832 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.1473, allocations: 20.91 kB / 0.6343 GB, free: 2.809 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.1473, allocations: 0 / 0.6343 GB, free: 2.809 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1473, allocations: 34.56 kB / 0.6343 GB, free: 2.766 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1473, allocations: 0 / 0.6343 GB, free: 2.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002059/0.1475, allocations: 65.55 kB / 0.6344 GB, free: 2.695 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.1476, allocations: 55.41 kB / 0.6344 GB, free: 2.629 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.401e-05/0.1476, allocations: 89.86 kB / 0.6345 GB, free: 2.531 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1476, allocations: 25.7 kB / 0.6345 GB, free: 2.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.527e-05/0.1477, allocations: 80.14 kB / 0.6346 GB, free: 2.418 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.1477, allocations: 15.75 kB / 0.6346 GB, free: 2.402 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.1478, allocations: 17.7 kB / 0.6346 GB, free: 2.379 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1479, allocations: 318.8 kB / 0.6349 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.869e-05/0.1479, allocations: 8 kB / 0.6349 GB, free: 2.051 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.148, allocations: 7.984 kB / 0.635 GB, free: 2.043 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.47e-05/0.148, allocations: 20.84 kB / 0.635 GB, free: 2.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.148, allocations: 0 / 0.635 GB, free: 2.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001097/0.1482, allocations: 49.62 kB / 0.635 GB, free: 1.965 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1482, allocations: 9.656 kB / 0.635 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1482, allocations: 0 / 0.635 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1482, allocations: 7.938 kB / 0.635 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.1486, allocations: 43.92 kB / 0.6351 GB, free: 1.906 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.1499, allocations: 1.412 MB / 0.6365 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.1499, allocations: 4.031 kB / 0.6365 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.15, allocations: 3.984 kB / 0.6365 GB, free: 356 kB / 478.1 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.526e-05/0.15, allocations: 109.8 kB / 0.6366 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.1501, allocations: 0 / 0.6366 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.413e-05/0.1501, allocations: 11.5 kB / 0.6366 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1501, allocations: 0 / 0.6366 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.01e-07/0.1501, allocations: 0 / 0.6366 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1501, allocations: 4.062 kB / 0.6366 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.726e-05/0.1502, allocations: 153.6 kB / 0.6367 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1502, allocations: 0 / 0.6367 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.1506, allocations: 47.98 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1506, allocations: 0 / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1506, allocations: 0 / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.1517, allocations: 1.404 MB / 0.6382 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1518, allocations: 0 / 0.6382 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.1519, allocations: 77.23 kB / 0.6382 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.1519, allocations: 77.11 kB / 0.6383 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-06/0.152, allocations: 7.938 kB / 0.6383 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.653e-05/0.152, allocations: 0 / 0.6383 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.152, allocations: 7.922 kB / 0.6383 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.152, allocations: 8 kB / 0.6383 GB, free: 14.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.9e-05/0.1521, allocations: 75.28 kB / 0.6384 GB, free: 14.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1521, allocations: 0 / 0.6384 GB, free: 14.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001963/0.1523, allocations: 8 kB / 0.6384 GB, free: 14.13 MB / 494.1 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001326/0.1524, allocations: 100.9 kB / 0.6385 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.1529, allocations: 63.84 kB / 0.6386 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.1529, allocations: 4 kB / 0.6386 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.1533, allocations: 56 kB / 0.6386 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.1534, allocations: 4 kB / 0.6386 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.1537, allocations: 122.7 kB / 0.6387 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.154, allocations: 0.6768 MB / 0.6394 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.154, allocations: 7.438 kB / 0.6394 GB, free: 13.03 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.154, allocations: 3.938 kB / 0.6394 GB, free: 13.03 MB / 494.1 MB Notification: Performance of Templates: time 0.002053/0.1561, allocations: 0.5935 MB / 0.64 GB, free: 12.43 MB / 494.1 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)