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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00851/0.008511, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001835/0.001835, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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 0.886/0.886, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 72.7 kB / 0.5951 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1661, allocations: 82.03 MB / 0.6752 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00184/0.168, allocations: 0.5945 MB / 0.6758 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003086/0.1683, allocations: 91.72 kB / 0.6759 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.1684, allocations: 0 / 0.6759 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.1684, allocations: 0 / 0.6759 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.1685, allocations: 3.984 kB / 0.6759 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.1687, allocations: 23.91 kB / 0.6759 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.764e-05/0.1688, allocations: 8 kB / 0.6759 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.1688, allocations: 352 / 0.6759 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.519e-05/0.1689, allocations: 8 kB / 0.6759 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.942e-05/0.1689, allocations: 7.922 kB / 0.6759 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.169, allocations: 4 kB / 0.6759 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.169, allocations: 11.98 kB / 0.6759 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.1691, allocations: 3.984 kB / 0.6759 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.1691, allocations: 4 kB / 0.6759 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.605e-05/0.1692, allocations: 11.98 kB / 0.676 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1692, allocations: 0 / 0.676 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.578e-06/0.1692, allocations: 0 / 0.676 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1692, allocations: 7.938 kB / 0.676 GB, free: 10.05 MB / 0.5137 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.0004033/0.1696, allocations: 319.6 kB / 0.6763 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1697, allocations: 8.031 kB / 0.6763 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.1697, allocations: 38.69 kB / 0.6763 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.1699, allocations: 8.922 kB / 0.6763 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.17, allocations: 164.4 kB / 0.6765 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.1701, allocations: 384 / 0.6765 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1701, allocations: 384 / 0.6765 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1702, allocations: 42.25 kB / 0.6765 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1702, allocations: 3.938 kB / 0.6765 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1703, allocations: 0 / 0.6765 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1703, allocations: 0 / 0.6765 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.202e-05/0.1704, allocations: 15.98 kB / 0.6765 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.1705, allocations: 149.7 kB / 0.6767 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1707, allocations: 54.53 kB / 0.6767 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.091e-05/0.1708, allocations: 16.86 kB / 0.6767 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1708, allocations: 0 / 0.6767 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1709, allocations: 34.56 kB / 0.6768 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1709, allocations: 0 / 0.6768 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0002385/0.1711, allocations: 61.55 kB / 0.6768 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.1712, allocations: 55.41 kB / 0.6769 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.691e-05/0.1712, allocations: 89.86 kB / 0.677 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1712, allocations: 25.7 kB / 0.677 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.1713, allocations: 84.12 kB / 0.6771 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.1713, allocations: 19.17 kB / 0.6771 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.1713, allocations: 13.72 kB / 0.6771 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1715, allocations: 310.8 kB / 0.6774 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.1715, allocations: 8 kB / 0.6774 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.1716, allocations: 11.98 kB / 0.6774 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.384e-05/0.1717, allocations: 20.84 kB / 0.6774 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1717, allocations: 4 kB / 0.6775 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001203/0.1718, allocations: 53.62 kB / 0.6775 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1718, allocations: 4 kB / 0.6775 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1718, allocations: 3.938 kB / 0.6775 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1719, allocations: 336 / 0.6775 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.1723, allocations: 51.86 kB / 0.6776 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.1737, allocations: 1.4 MB / 0.6789 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.1738, allocations: 8.109 kB / 0.6789 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1738, allocations: 4.031 kB / 0.6789 GB, free: 6.637 MB / 0.5137 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.534e-05/0.1739, allocations: 113.8 kB / 0.679 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.1739, allocations: 0 / 0.679 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.1739, allocations: 3.5 kB / 0.6791 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1739, allocations: 0 / 0.6791 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.1739, allocations: 4 kB / 0.6791 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.174, allocations: 0 / 0.6791 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1741, allocations: 157.6 kB / 0.6792 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1741, allocations: 4 kB / 0.6792 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.1745, allocations: 43.92 kB / 0.6793 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.1745, allocations: 4 kB / 0.6793 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1745, allocations: 0 / 0.6793 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.1757, allocations: 1.408 MB / 0.6806 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1757, allocations: 4.031 kB / 0.6806 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.1759, allocations: 69.22 kB / 0.6807 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.1759, allocations: 81.11 kB / 0.6808 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-06/0.1759, allocations: 3.938 kB / 0.6808 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.816e-05/0.176, allocations: 7.984 kB / 0.6808 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.176, allocations: 7.969 kB / 0.6808 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.176, allocations: 3.938 kB / 0.6808 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.992e-05/0.176, allocations: 75.28 kB / 0.6809 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.176, allocations: 0 / 0.6809 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001911/0.1762, allocations: 4 kB / 0.6809 GB, free: 4.418 MB / 0.5137 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.0004697/0.1767, allocations: 0.6124 MB / 0.6815 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004963/0.1772, allocations: 71.84 kB / 0.6815 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1772, allocations: 0 / 0.6815 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.1775, allocations: 31.95 kB / 0.6816 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.1776, allocations: 8 kB / 0.6816 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.1782, allocations: 130.5 kB / 0.6817 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1784, allocations: 0.6767 MB / 0.6824 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.186e-05/0.1785, allocations: 3.984 kB / 0.6824 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.1785, allocations: 7.438 kB / 0.6824 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.1785, allocations: 0 / 0.6824 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.1979, allocations: 1.312 MB / 0.6837 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.1, allocations: 9.844 kB / 0.6837 GB, free: 1.645 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)