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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00233/0.00233, allocations: 192 kB / 16.13 MB, free: 6.707 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.486/1.486, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.051/1.051, allocations: 143 MB / 433 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 71.89 kB / 0.5135 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1966, allocations: 82.03 MB / 0.5936 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001937/0.1985, allocations: 0.6466 MB / 0.5942 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003514/0.1989, allocations: 95.73 kB / 0.5943 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.1989, allocations: 0 / 0.5943 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.199, allocations: 0 / 0.5943 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.199, allocations: 0 / 0.5943 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.1992, allocations: 11.98 kB / 0.5944 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.424e-05/0.1993, allocations: 15.92 kB / 0.5944 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.1993, allocations: 0 / 0.5944 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.1993, allocations: 3.938 kB / 0.5944 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.908e-05/0.1994, allocations: 11.98 kB / 0.5944 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.1995, allocations: 0 / 0.5944 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.1995, allocations: 19.92 kB / 0.5944 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.1995, allocations: 0 / 0.5944 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.1996, allocations: 0 / 0.5944 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.1997, allocations: 23.91 kB / 0.5944 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1997, allocations: 0 / 0.5944 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1997, allocations: 0 / 0.5944 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.1997, allocations: 0 / 0.5944 GB, free: 9.223 MB / 0.4981 GB 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.0003788/0.2001, allocations: 319.6 kB / 0.5947 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2001, allocations: 16.03 kB / 0.5947 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.2003, allocations: 8.922 kB / 0.5948 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2004, allocations: 160.4 kB / 0.5949 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.2005, allocations: 384 / 0.5949 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.2005, allocations: 4.375 kB / 0.5949 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.2006, allocations: 34.25 kB / 0.5949 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2006, allocations: 192 / 0.5949 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2007, allocations: 7.938 kB / 0.595 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.2007, allocations: 3.984 kB / 0.595 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.852e-05/0.2008, allocations: 19.92 kB / 0.595 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.201, allocations: 153.7 kB / 0.5951 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.2012, allocations: 38.59 kB / 0.5952 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.2012, allocations: 16.92 kB / 0.5952 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.2012, allocations: 4 kB / 0.5952 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.2013, allocations: 30.56 kB / 0.5952 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2013, allocations: 0 / 0.5952 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002293/0.2015, allocations: 61.55 kB / 0.5953 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.2016, allocations: 51.41 kB / 0.5953 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.605e-05/0.2016, allocations: 89.86 kB / 0.5954 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.2016, allocations: 25.7 kB / 0.5954 GB, free: 8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.2017, allocations: 88.14 kB / 0.5955 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.2017, allocations: 20.02 kB / 0.5955 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.2018, allocations: 9.719 kB / 0.5955 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2019, allocations: 322.8 kB / 0.5958 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/0.2019, allocations: 3.984 kB / 0.5958 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.202, allocations: 8 kB / 0.5959 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.138e-05/0.2021, allocations: 25.11 kB / 0.5959 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2021, allocations: 0 / 0.5959 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001064/0.2022, allocations: 53.62 kB / 0.5959 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2022, allocations: 7.938 kB / 0.5959 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2022, allocations: 0 / 0.5959 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2022, allocations: 7.922 kB / 0.5959 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.2026, allocations: 39.94 kB / 0.596 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.204, allocations: 1.314 MB / 0.5973 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.204, allocations: 4 kB / 0.5973 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.204, allocations: 4.031 kB / 0.5973 GB, free: 5.949 MB / 0.4981 GB 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 8.008e-05/0.2041, allocations: 109.8 kB / 0.5974 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.2041, allocations: 3.938 kB / 0.5974 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.2041, allocations: 7.594 kB / 0.5974 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2041, allocations: 4 kB / 0.5974 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.2042, allocations: 0 / 0.5974 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2042, allocations: 0 / 0.5974 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.2043, allocations: 157.6 kB / 0.5975 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2043, allocations: 0 / 0.5975 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.2046, allocations: 47.94 kB / 0.5976 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2046, allocations: 0 / 0.5976 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.2047, allocations: 3.984 kB / 0.5976 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.2058, allocations: 1.314 MB / 0.5989 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2058, allocations: 0 / 0.5989 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.2059, allocations: 73.16 kB / 0.5989 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.206, allocations: 81.09 kB / 0.599 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-06/0.206, allocations: 3.938 kB / 0.599 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.751e-05/0.206, allocations: 4 kB / 0.599 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.206, allocations: 0 / 0.599 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.206, allocations: 8 kB / 0.599 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.875e-05/0.2061, allocations: 75.28 kB / 0.5991 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2061, allocations: 0 / 0.5991 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001874/0.2063, allocations: 4 kB / 0.5991 GB, free: 3.832 MB / 0.4981 GB 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.0001698/0.2065, allocations: 111.2 kB / 0.5992 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.2069, allocations: 59.86 kB / 0.5993 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.2069, allocations: 4 kB / 0.5993 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.2072, allocations: 39.89 kB / 0.5993 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.2073, allocations: 0 / 0.5993 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.2077, allocations: 94.28 kB / 0.5994 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.2079, allocations: 0.677 MB / 0.6001 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.2079, allocations: 4 kB / 0.6001 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.208, allocations: 11.44 kB / 0.6001 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.208, allocations: 3.938 kB / 0.6001 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of Templates: time 0.002275/0.2103, allocations: 408 kB / 0.6005 GB, free: 2.379 MB / 0.4981 GB 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)