Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",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.001697/0.001697, 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.002101/0.002101, allocations: 196.8 kB / 16.53 MB, free: 6.699 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.002/1.002, allocations: 143 MB / 433.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.89 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1539, allocations: 82.04 MB / 0.5944 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.002749/0.1567, allocations: 1.425 MB / 0.5958 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004232/0.1572, allocations: 188.2 kB / 0.596 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.1572, allocations: 0 / 0.596 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.1573, allocations: 4 kB / 0.596 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/0.1573, allocations: 3.938 kB / 0.596 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.1576, allocations: 43.88 kB / 0.596 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.03e-05/0.1577, allocations: 23.94 kB / 0.596 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.1578, allocations: 3.984 kB / 0.596 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.1578, allocations: 11.94 kB / 0.5961 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.785e-05/0.1579, allocations: 15.98 kB / 0.5961 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1579, allocations: 4 kB / 0.5961 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.525e-05/0.158, allocations: 35.95 kB / 0.5961 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.158, allocations: 3.938 kB / 0.5961 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.158, allocations: 4 kB / 0.5961 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1582, allocations: 47.86 kB / 0.5962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1582, allocations: 0 / 0.5962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1582, allocations: 0 / 0.5962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1582, allocations: 0 / 0.5962 GB, free: 7.648 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.0004314/0.1586, allocations: 347.7 kB / 0.5965 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1587, allocations: 12.03 kB / 0.5965 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.1587, allocations: 30.75 kB / 0.5965 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.1587, allocations: 0.9375 kB / 0.5965 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1588, allocations: 180.2 kB / 0.5967 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1589, allocations: 4.312 kB / 0.5967 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1589, allocations: 4.359 kB / 0.5967 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1591, allocations: 54.17 kB / 0.5968 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1591, allocations: 3.938 kB / 0.5968 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1591, allocations: 4 kB / 0.5968 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1591, allocations: 0 / 0.5968 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.1593, allocations: 31.97 kB / 0.5968 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.1596, allocations: 248.9 kB / 0.597 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1597, allocations: 38.5 kB / 0.5971 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.1598, allocations: 28.91 kB / 0.5971 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.84e-05/0.1599, allocations: 81.09 kB / 0.5972 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.16, allocations: 34.56 kB / 0.5972 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.16, allocations: 0 / 0.5972 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003516/0.1603, allocations: 85.7 kB / 0.5973 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.1604, allocations: 55.41 kB / 0.5973 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.34e-05/0.1604, allocations: 97.86 kB / 0.5974 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.1605, allocations: 25.7 kB / 0.5975 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.1605, allocations: 88.12 kB / 0.5975 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.1605, allocations: 7.906 kB / 0.5976 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.1606, allocations: 13.72 kB / 0.5976 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.1607, allocations: 310.8 kB / 0.5979 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.1608, allocations: 19.98 kB / 0.5979 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.758e-05/0.1609, allocations: 19.97 kB / 0.5979 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.161, allocations: 37.08 kB / 0.5979 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.161, allocations: 3.938 kB / 0.5979 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002088/0.1612, allocations: 77.66 kB / 0.598 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1613, allocations: 8 kB / 0.598 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1613, allocations: 0 / 0.598 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1613, allocations: 0 / 0.598 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.1614, allocations: 7.984 kB / 0.598 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1614, allocations: 0 / 0.598 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.1615, allocations: 7.906 kB / 0.598 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1615, allocations: 4 kB / 0.598 GB, free: 5.461 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/0.1615, allocations: 121.7 kB / 0.5982 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.1616, allocations: 0 / 0.5982 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.1618, allocations: 72.78 kB / 0.5982 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1618, allocations: 3.938 kB / 0.5982 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1618, allocations: 3.938 kB / 0.5982 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1618, allocations: 0 / 0.5982 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.162, allocations: 161.6 kB / 0.5984 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.162, allocations: 4 kB / 0.5984 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.17e-05/0.1621, allocations: 8.031 kB / 0.5984 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1621, allocations: 3.938 kB / 0.5984 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1621, allocations: 0 / 0.5984 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1621, allocations: 0 / 0.5984 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1621, allocations: 7.984 kB / 0.5984 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1623, allocations: 159.5 kB / 0.5986 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.1624, allocations: 85.12 kB / 0.5986 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.1624, allocations: 0 / 0.5986 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.1625, allocations: 4 kB / 0.5987 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.1625, allocations: 7.984 kB / 0.5987 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1625, allocations: 0 / 0.5987 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.781e-05/0.1626, allocations: 83.28 kB / 0.5987 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1626, allocations: 3.938 kB / 0.5987 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000235/0.1628, allocations: 11.91 kB / 0.5988 GB, free: 4.637 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006106/0.1634, allocations: 0.7085 MB / 0.5994 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.1637, allocations: 35.97 kB / 0.5995 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1637, allocations: 4.094 kB / 0.5995 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.789e-05/0.1638, allocations: 19.92 kB / 0.5995 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.1641, allocations: 11.98 kB / 0.5995 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.1645, allocations: 135.2 kB / 0.5996 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.1647, allocations: 0.6768 MB / 0.6003 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.1647, allocations: 8.062 kB / 0.6003 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.1648, allocations: 7.438 kB / 0.6003 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1648, allocations: 0 / 0.6003 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.1817, allocations: 1.447 MB / 0.6017 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.402/7.583, allocations: 0.7031 kB / 0.6017 GB, free: 1.574 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential_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_Examples_SmoothExponential.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)