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.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001115/0.001115, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.315/1.315, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.9483/0.9483, allocations: 143 MB / 433 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 67.89 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1627, allocations: 82.05 MB / 0.5937 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00171/0.1644, allocations: 0.6389 MB / 0.5944 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002909/0.1647, allocations: 95.72 kB / 0.5945 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.062e-05/0.1647, allocations: 3.938 kB / 0.5945 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.1647, allocations: 0 / 0.5945 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.855e-05/0.1648, allocations: 0 / 0.5945 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.165, allocations: 19.86 kB / 0.5945 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.548e-05/0.165, allocations: 4 kB / 0.5945 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.165, allocations: 0 / 0.5945 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.682e-05/0.1651, allocations: 4 kB / 0.5945 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.209e-05/0.1651, allocations: 4 kB / 0.5945 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1651, allocations: 4 kB / 0.5945 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.094e-05/0.1652, allocations: 15.98 kB / 0.5945 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.1652, allocations: 11.91 kB / 0.5945 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.1653, allocations: 7.938 kB / 0.5945 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.3e-05/0.1653, allocations: 11.98 kB / 0.5945 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1654, allocations: 0 / 0.5945 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.71e-07/0.1654, allocations: 0 / 0.5945 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.1654, allocations: 0 / 0.5945 GB, free: 9.145 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.0003199/0.1657, allocations: 331.6 kB / 0.5949 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1657, allocations: 8.031 kB / 0.5949 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.1658, allocations: 30.75 kB / 0.5949 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.1659, allocations: 16.92 kB / 0.5949 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.166, allocations: 160.4 kB / 0.5951 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.166, allocations: 384 / 0.5951 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.166, allocations: 384 / 0.5951 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1662, allocations: 46.19 kB / 0.5951 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1662, allocations: 3.938 kB / 0.5951 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.1662, allocations: 4 kB / 0.5951 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.1662, allocations: 3.984 kB / 0.5951 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.1663, allocations: 11.98 kB / 0.5951 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.1664, allocations: 153.6 kB / 0.5953 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1666, allocations: 42.59 kB / 0.5953 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.1666, allocations: 16.92 kB / 0.5953 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1667, allocations: 3.938 kB / 0.5953 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.1667, allocations: 34.56 kB / 0.5954 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1667, allocations: 0 / 0.5954 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001936/0.1669, allocations: 57.61 kB / 0.5954 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.1669, allocations: 55.41 kB / 0.5955 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.975e-05/0.167, allocations: 89.86 kB / 0.5956 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.167, allocations: 29.7 kB / 0.5956 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.167, allocations: 80.14 kB / 0.5957 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1671, allocations: 16.02 kB / 0.5957 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.1671, allocations: 17.72 kB / 0.5957 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.1672, allocations: 310.8 kB / 0.596 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.713e-05/0.1672, allocations: 4 kB / 0.596 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.1673, allocations: 11.92 kB / 0.596 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.647e-05/0.1674, allocations: 28.84 kB / 0.596 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1674, allocations: 0 / 0.596 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001067/0.1675, allocations: 49.69 kB / 0.5961 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1675, allocations: 4 kB / 0.5961 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1675, allocations: 3.938 kB / 0.5961 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1675, allocations: 0 / 0.5961 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.1679, allocations: 47.92 kB / 0.5961 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.1691, allocations: 1.306 MB / 0.5974 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.1691, allocations: 3.938 kB / 0.5974 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1691, allocations: 0 / 0.5974 GB, free: 5.832 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.741e-05/0.1692, allocations: 113.8 kB / 0.5975 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.1692, allocations: 4.094 kB / 0.5975 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.765e-05/0.1692, allocations: 15.47 kB / 0.5976 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1692, allocations: 0 / 0.5976 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.1693, allocations: 0 / 0.5976 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1693, allocations: 0 / 0.5976 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.1694, allocations: 157.6 kB / 0.5977 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1694, allocations: 3.984 kB / 0.5977 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.1697, allocations: 55.88 kB / 0.5978 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1698, allocations: 0 / 0.5978 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1698, allocations: 3.938 kB / 0.5978 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.1708, allocations: 1.31 MB / 0.599 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1708, allocations: 0 / 0.599 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.171, allocations: 81.16 kB / 0.5991 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/0.171, allocations: 77.11 kB / 0.5992 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.171, allocations: 7.984 kB / 0.5992 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.649e-05/0.171, allocations: 0 / 0.5992 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.1711, allocations: 4 kB / 0.5992 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1711, allocations: 0 / 0.5992 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.306e-05/0.1711, allocations: 75.28 kB / 0.5993 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1711, allocations: 4 kB / 0.5993 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001863/0.1713, allocations: 7.938 kB / 0.5993 GB, free: 3.691 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.0003976/0.1717, allocations: 0.6085 MB / 0.5999 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004195/0.1721, allocations: 63.91 kB / 0.5999 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1721, allocations: 0 / 0.5999 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.1724, allocations: 35.95 kB / 0.6 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.1725, allocations: 8 kB / 0.6 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.1729, allocations: 132.7 kB / 0.6001 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.1731, allocations: 0.6731 MB / 0.6008 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.647e-05/0.1732, allocations: 11.97 kB / 0.6008 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.1732, allocations: 7.438 kB / 0.6008 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1732, allocations: 4 kB / 0.6008 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.1892, allocations: 1.137 MB / 0.6019 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.1895, allocations: 243.4 kB / 0.6021 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/1.805, allocations: 0 / 0.6021 GB, free: 0.8555 MB / 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 & /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)