Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_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.00109/0.00109, allocations: 104.7 kB / 16.4 MB, free: 6.5 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.00136/0.00136, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.782/0.782, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 64.09 kB / 0.568 GB, free: 29.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1603, allocations: 77.93 MB / 0.6441 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.003203/0.1636, allocations: 1.431 MB / 0.6455 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005423/0.1642, allocations: 196.2 kB / 0.6456 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.1642, allocations: 0 / 0.6456 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.521e-05/0.1643, allocations: 0 / 0.6456 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.503e-05/0.1644, allocations: 3.938 kB / 0.6457 GB, free: 7.863 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.1648, allocations: 35.89 kB / 0.6457 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.1649, allocations: 27.92 kB / 0.6457 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.165, allocations: 3.984 kB / 0.6457 GB, free: 7.797 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.852e-05/0.165, allocations: 11.94 kB / 0.6457 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.1651, allocations: 11.98 kB / 0.6457 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1651, allocations: 4 kB / 0.6457 GB, free: 7.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1652, allocations: 31.97 kB / 0.6458 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.1653, allocations: 7.938 kB / 0.6458 GB, free: 7.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.1653, allocations: 19.91 kB / 0.6458 GB, free: 7.711 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1655, allocations: 32.17 kB / 0.6458 GB, free: 7.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1655, allocations: 0 / 0.6458 GB, free: 7.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1655, allocations: 0 / 0.6458 GB, free: 7.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.1655, allocations: 4 kB / 0.6458 GB, free: 7.676 MB / 494.1 MB 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.0005761/0.1661, allocations: 347.3 kB / 0.6462 GB, free: 7.285 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.1662, allocations: 16.56 kB / 0.6462 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.1662, allocations: 30.75 kB / 0.6462 GB, free: 7.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1663, allocations: 4.891 kB / 0.6462 GB, free: 7.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1664, allocations: 172.3 kB / 0.6464 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1665, allocations: 4.359 kB / 0.6464 GB, free: 7.016 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.1665, allocations: 4.375 kB / 0.6464 GB, free: 7.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.1667, allocations: 46.23 kB / 0.6464 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.1667, allocations: 7.938 kB / 0.6464 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1667, allocations: 8 kB / 0.6464 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1667, allocations: 0 / 0.6464 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.1669, allocations: 35.91 kB / 0.6465 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.1673, allocations: 248.9 kB / 0.6467 GB, free: 6.617 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.1674, allocations: 38.5 kB / 0.6468 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/0.1675, allocations: 28.91 kB / 0.6468 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.1676, allocations: 89.08 kB / 0.6469 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1677, allocations: 30.56 kB / 0.6469 GB, free: 6.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.704e-06/0.1677, allocations: 0 / 0.6469 GB, free: 6.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003684/0.168, allocations: 85.7 kB / 0.647 GB, free: 6.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.1681, allocations: 55.41 kB / 0.647 GB, free: 6.238 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.895e-05/0.1682, allocations: 97.86 kB / 0.6471 GB, free: 6.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1682, allocations: 29.7 kB / 0.6472 GB, free: 6.098 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.1683, allocations: 88.08 kB / 0.6472 GB, free: 6.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1683, allocations: 3.953 kB / 0.6472 GB, free: 6.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.1684, allocations: 17.72 kB / 0.6473 GB, free: 5.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1685, allocations: 310.8 kB / 0.6476 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.1686, allocations: 19.98 kB / 0.6476 GB, free: 5.648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.1686, allocations: 19.97 kB / 0.6476 GB, free: 5.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.1688, allocations: 32.83 kB / 0.6476 GB, free: 5.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1688, allocations: 7.938 kB / 0.6476 GB, free: 5.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001998/0.169, allocations: 73.66 kB / 0.6477 GB, free: 5.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.169, allocations: 8 kB / 0.6477 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1691, allocations: 0 / 0.6477 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1691, allocations: 0 / 0.6477 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.1692, allocations: 7.984 kB / 0.6477 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1692, allocations: 4 kB / 0.6477 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.1692, allocations: 3.938 kB / 0.6477 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1693, allocations: 4 kB / 0.6477 GB, free: 5.48 MB / 494.1 MB 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 0.0001031/0.1694, allocations: 117.8 kB / 0.6478 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.1694, allocations: 0 / 0.6478 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.1697, allocations: 76.72 kB / 0.6479 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1697, allocations: 0 / 0.6479 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1697, allocations: 0 / 0.6479 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1697, allocations: 0 / 0.6479 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.1699, allocations: 165.6 kB / 0.6481 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1699, allocations: 0 / 0.6481 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.17, allocations: 11.97 kB / 0.6481 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.17, allocations: 0 / 0.6481 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.17, allocations: 4 kB / 0.6481 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.17, allocations: 256 / 0.6481 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.17, allocations: 0 / 0.6481 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.1703, allocations: 171.4 kB / 0.6483 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.1704, allocations: 89.06 kB / 0.6483 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1704, allocations: 0 / 0.6483 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1705, allocations: 4 kB / 0.6483 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.1705, allocations: 3.984 kB / 0.6483 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1705, allocations: 4 kB / 0.6483 GB, free: 4.746 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.383e-05/0.1706, allocations: 83.28 kB / 0.6484 GB, free: 4.664 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1706, allocations: 0 / 0.6484 GB, free: 4.664 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1708, allocations: 11.94 kB / 0.6484 GB, free: 4.652 MB / 494.1 MB 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.0006365/0.1715, allocations: 0.7046 MB / 0.6491 GB, free: 3.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1717, allocations: 35.91 kB / 0.6492 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1717, allocations: 4.094 kB / 0.6492 GB, free: 3.879 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.715e-05/0.1718, allocations: 19.98 kB / 0.6492 GB, free: 3.859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.1721, allocations: 9.859 kB / 0.6492 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.1725, allocations: 139.1 kB / 0.6493 GB, free: 3.676 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.1728, allocations: 0.6807 MB / 0.65 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.583e-05/0.1728, allocations: 0 / 0.65 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.1729, allocations: 7.5 kB / 0.65 GB, free: 2.961 MB / 494.1 MB Notification: Performance of SimCode: time 1.512e-06/0.1729, allocations: 4 kB / 0.65 GB, free: 2.957 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.1916, allocations: 1.439 MB / 0.6514 GB, free: 1.605 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/7.532, allocations: 3.859 kB / 0.6514 GB, free: 1.602 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)