Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7284/0.7284, allocations: 128.7 MB / 144.5 MB, free: 1.348 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 180.5 kB / 174.2 MB, free: 5.906 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205 MB / 408.9 MB, free: 9.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 90.3 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 59.41 kB / 0.558 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1462, allocations: 75.47 MB / 0.6317 GB, free: 32.96 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002156/0.1484, allocations: 0.6512 MB / 0.6323 GB, free: 32.3 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003294/0.1488, allocations: 97.05 kB / 0.6324 GB, free: 32.21 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.48e-05/0.1488, allocations: 0 / 0.6324 GB, free: 32.21 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.1489, allocations: 0 / 0.6324 GB, free: 32.21 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.479e-05/0.149, allocations: 0 / 0.6324 GB, free: 32.21 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.1492, allocations: 15.98 kB / 0.6324 GB, free: 32.2 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.26e-05/0.1492, allocations: 7.984 kB / 0.6324 GB, free: 32.19 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.1493, allocations: 3.938 kB / 0.6324 GB, free: 32.18 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.1493, allocations: 8 kB / 0.6324 GB, free: 32.18 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.1494, allocations: 7.984 kB / 0.6325 GB, free: 32.17 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1494, allocations: 0 / 0.6325 GB, free: 32.17 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.204e-05/0.1495, allocations: 11.98 kB / 0.6325 GB, free: 32.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.1495, allocations: 7.938 kB / 0.6325 GB, free: 32.15 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.1495, allocations: 4 kB / 0.6325 GB, free: 32.14 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.227e-05/0.1496, allocations: 11.97 kB / 0.6325 GB, free: 32.13 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1496, allocations: 0 / 0.6325 GB, free: 32.13 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1497, allocations: 0 / 0.6325 GB, free: 32.13 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1497, allocations: 0 / 0.6325 GB, free: 32.13 MB / 442.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.000359/0.15, allocations: 327.6 kB / 0.6328 GB, free: 31.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1501, allocations: 15.91 kB / 0.6328 GB, free: 31.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.1502, allocations: 12.92 kB / 0.6328 GB, free: 31.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.856e-05/0.1503, allocations: 160.4 kB / 0.633 GB, free: 31.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1503, allocations: 384 / 0.633 GB, free: 31.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.1503, allocations: 4.359 kB / 0.633 GB, free: 31.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1505, allocations: 42.19 kB / 0.633 GB, free: 31.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1505, allocations: 4.188 kB / 0.633 GB, free: 31.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1505, allocations: 7.938 kB / 0.633 GB, free: 31.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1505, allocations: 0 / 0.633 GB, free: 31.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.274e-05/0.1506, allocations: 15.97 kB / 0.6331 GB, free: 31.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.1507, allocations: 145.7 kB / 0.6332 GB, free: 31.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.1509, allocations: 46.53 kB / 0.6332 GB, free: 31.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.5e-05/0.151, allocations: 16.92 kB / 0.6333 GB, free: 31.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.151, allocations: 0 / 0.6333 GB, free: 31.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.151, allocations: 34.56 kB / 0.6333 GB, free: 31.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.151, allocations: 0 / 0.6333 GB, free: 31.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002053/0.1512, allocations: 57.55 kB / 0.6333 GB, free: 31.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.1513, allocations: 55.41 kB / 0.6334 GB, free: 31.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.35e-05/0.1513, allocations: 93.86 kB / 0.6335 GB, free: 30.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.178e-06/0.1513, allocations: 29.7 kB / 0.6335 GB, free: 30.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.453e-05/0.1513, allocations: 80.14 kB / 0.6336 GB, free: 30.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.1514, allocations: 12.08 kB / 0.6336 GB, free: 30.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.1514, allocations: 21.72 kB / 0.6336 GB, free: 30.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.1515, allocations: 310.8 kB / 0.6339 GB, free: 30.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.1515, allocations: 7.984 kB / 0.6339 GB, free: 30.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.1515, allocations: 4 kB / 0.6339 GB, free: 30.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.387e-05/0.1516, allocations: 24.84 kB / 0.634 GB, free: 30.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1516, allocations: 0 / 0.634 GB, free: 30.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000104/0.1517, allocations: 53.62 kB / 0.634 GB, free: 30.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1518, allocations: 4 kB / 0.634 GB, free: 30.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1518, allocations: 3.938 kB / 0.634 GB, free: 30.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1518, allocations: 3.938 kB / 0.634 GB, free: 30.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.1522, allocations: 47.92 kB / 0.6341 GB, free: 30.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008799/0.1531, allocations: 1.318 MB / 0.6353 GB, free: 28.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.1531, allocations: 3.938 kB / 0.6354 GB, free: 28.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.1531, allocations: 0 / 0.6354 GB, free: 28.85 MB / 442.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 () * 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 5.362e-05/0.1532, allocations: 113.9 kB / 0.6355 GB, free: 28.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.1532, allocations: 8.031 kB / 0.6355 GB, free: 28.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.182e-05/0.1532, allocations: 7.5 kB / 0.6355 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1532, allocations: 0 / 0.6355 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1532, allocations: 0 / 0.6355 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1532, allocations: 3.938 kB / 0.6355 GB, free: 28.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.175e-05/0.1533, allocations: 153.6 kB / 0.6356 GB, free: 28.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1533, allocations: 0 / 0.6356 GB, free: 28.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.1536, allocations: 47.94 kB / 0.6357 GB, free: 28.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.1536, allocations: 0 / 0.6357 GB, free: 28.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.1536, allocations: 0 / 0.6357 GB, free: 28.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000765/0.1544, allocations: 1.313 MB / 0.637 GB, free: 27.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1544, allocations: 0 / 0.637 GB, free: 27.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.1547, allocations: 0.6202 MB / 0.6376 GB, free: 26.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.1547, allocations: 85.09 kB / 0.6376 GB, free: 26.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-06/0.1547, allocations: 0 / 0.6376 GB, free: 26.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.633e-05/0.1547, allocations: 7.938 kB / 0.6376 GB, free: 26.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.1547, allocations: 4 kB / 0.6377 GB, free: 26.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.1548, allocations: 0 / 0.6377 GB, free: 26.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.327e-05/0.1548, allocations: 79.28 kB / 0.6377 GB, free: 26.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1548, allocations: 0 / 0.6377 GB, free: 26.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.1551, allocations: 4 kB / 0.6377 GB, free: 26.14 MB / 442.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 () * 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.00011/0.1552, allocations: 99.23 kB / 0.6378 GB, free: 26.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.1556, allocations: 67.89 kB / 0.6379 GB, free: 25.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1556, allocations: 4 kB / 0.6379 GB, free: 25.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.1558, allocations: 31.95 kB / 0.6379 GB, free: 25.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.156, allocations: 10.75 kB / 0.6379 GB, free: 25.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.1563, allocations: 201.8 kB / 0.6381 GB, free: 25.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.842e-05/0.1564, allocations: 0.6731 MB / 0.6388 GB, free: 24.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.044e-05/0.1564, allocations: 0 / 0.6388 GB, free: 24.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.1564, allocations: 15.42 kB / 0.6388 GB, free: 24.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.9e-07/0.1564, allocations: 0 / 0.6388 GB, free: 24.97 MB / 442.7 MB Notification: Performance of Templates: time 0.00189/0.1583, allocations: 413.9 kB / 0.6392 GB, free: 24.57 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)