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.001183/0.001183, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 196.6 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.402 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 0.9883/0.9883, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 63.91 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1642, allocations: 82.05 MB / 0.5944 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002097/0.1663, allocations: 0.5766 MB / 0.595 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000316/0.1667, allocations: 95.72 kB / 0.5951 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.1667, allocations: 0 / 0.5951 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.202e-05/0.1667, allocations: 0 / 0.5951 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-05/0.1668, allocations: 11.92 kB / 0.5951 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.167, allocations: 11.92 kB / 0.5951 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.449e-05/0.1671, allocations: 12 kB / 0.5951 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.1671, allocations: 0 / 0.5951 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.241e-05/0.1672, allocations: 11.92 kB / 0.5951 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.1672, allocations: 4 kB / 0.5951 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1673, allocations: 4 kB / 0.5951 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.58e-05/0.1673, allocations: 11.98 kB / 0.5951 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.1674, allocations: 4 kB / 0.5951 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.1674, allocations: 3.984 kB / 0.5951 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.742e-05/0.1675, allocations: 15.92 kB / 0.5951 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1675, allocations: 0 / 0.5951 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1675, allocations: 0 / 0.5951 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.1675, allocations: 4 kB / 0.5951 GB, free: 8.711 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.0003761/0.1679, allocations: 323.5 kB / 0.5955 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.168, allocations: 12.03 kB / 0.5955 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.168, allocations: 34.75 kB / 0.5955 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.1682, allocations: 8.922 kB / 0.5955 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.711e-05/0.1683, allocations: 160.4 kB / 0.5957 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.1683, allocations: 384 / 0.5957 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1683, allocations: 384 / 0.5957 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1685, allocations: 42.25 kB / 0.5957 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1685, allocations: 7.922 kB / 0.5957 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1685, allocations: 0 / 0.5957 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1685, allocations: 4 kB / 0.5957 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.835e-05/0.1686, allocations: 15.92 kB / 0.5957 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.1688, allocations: 157.7 kB / 0.5959 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.169, allocations: 38.59 kB / 0.5959 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.169, allocations: 12.92 kB / 0.5959 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.1691, allocations: 8 kB / 0.5959 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1691, allocations: 30.56 kB / 0.596 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1691, allocations: 0 / 0.596 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002297/0.1693, allocations: 61.55 kB / 0.596 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1694, allocations: 55.41 kB / 0.5961 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.076e-05/0.1694, allocations: 89.86 kB / 0.5962 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1695, allocations: 25.7 kB / 0.5962 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.1695, allocations: 88.08 kB / 0.5963 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.1695, allocations: 16.03 kB / 0.5963 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.1696, allocations: 17.7 kB / 0.5963 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1697, allocations: 310.8 kB / 0.5966 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.351e-05/0.1697, allocations: 4 kB / 0.5966 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.1698, allocations: 7.984 kB / 0.5966 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.827e-05/0.1699, allocations: 28.84 kB / 0.5966 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1699, allocations: 7.938 kB / 0.5966 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001133/0.17, allocations: 49.62 kB / 0.5967 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.17, allocations: 4 kB / 0.5967 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.17, allocations: 3.938 kB / 0.5967 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1701, allocations: 0 / 0.5967 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.1705, allocations: 43.92 kB / 0.5967 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.1718, allocations: 1.409 MB / 0.5981 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.1719, allocations: 3.984 kB / 0.5981 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1719, allocations: 4.031 kB / 0.5981 GB, free: 5.289 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 7.663e-05/0.172, allocations: 113.9 kB / 0.5982 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-06/0.172, allocations: 0 / 0.5982 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.172, allocations: 7.5 kB / 0.5982 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.172, allocations: 4 kB / 0.5982 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.172, allocations: 0 / 0.5982 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.172, allocations: 0 / 0.5982 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.1721, allocations: 153.6 kB / 0.5984 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1721, allocations: 0 / 0.5984 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.1725, allocations: 47.92 kB / 0.5984 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1725, allocations: 4 kB / 0.5984 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.1726, allocations: 0 / 0.5984 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.1738, allocations: 1.408 MB / 0.5998 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1738, allocations: 3.984 kB / 0.5998 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.174, allocations: 69.12 kB / 0.5999 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.174, allocations: 81.05 kB / 0.6 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.174, allocations: 8 kB / 0.6 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.052e-05/0.1741, allocations: 7.984 kB / 0.6 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.1741, allocations: 0 / 0.6 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1741, allocations: 0 / 0.6 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.716e-05/0.1742, allocations: 75.28 kB / 0.6001 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1742, allocations: 3.938 kB / 0.6001 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001979/0.1744, allocations: 8 kB / 0.6001 GB, free: 3.066 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.000478/0.1749, allocations: 0.6124 MB / 0.6007 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004797/0.1753, allocations: 67.84 kB / 0.6007 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1754, allocations: 0 / 0.6007 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.1756, allocations: 36.14 kB / 0.6008 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.1757, allocations: 8.828 kB / 0.6008 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.1762, allocations: 126.5 kB / 0.6009 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1765, allocations: 0.6806 MB / 0.6016 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.1766, allocations: 3.984 kB / 0.6016 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.1766, allocations: 11.44 kB / 0.6016 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1766, allocations: 0 / 0.6016 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.1945, allocations: 1.252 MB / 0.6028 GB, free: 348 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.16, allocations: 1.062 kB / 0.6028 GB, free: 348 kB / 0.4981 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)