Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.001433/0.001433, allocations: 101.1 kB / 16.4 MB, free: 6.496 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.001678/0.001678, allocations: 192 kB / 17.34 MB, free: 5.727 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8168/0.8168, allocations: 122.8 MB / 414 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 71.05 kB / 0.568 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1441, allocations: 77.91 MB / 0.6441 GB, free: 9.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001644/0.1458, allocations: 0.5805 MB / 0.6447 GB, free: 8.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1471, allocations: 1.104 MB / 0.6457 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.1471, allocations: 0 / 0.6457 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.1472, allocations: 0 / 0.6457 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.1474, allocations: 27.86 kB / 0.6458 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.1474, allocations: 0 / 0.6458 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.524e-05/0.1475, allocations: 11.92 kB / 0.6458 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.1475, allocations: 4 kB / 0.6458 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.452e-05/0.1476, allocations: 0 / 0.6458 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.407e-05/0.1476, allocations: 4 kB / 0.6458 GB, free: 7.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.675e-06/0.1476, allocations: 0 / 0.6458 GB, free: 7.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1477, allocations: 19.92 kB / 0.6458 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-06/0.1477, allocations: 3.938 kB / 0.6458 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.1478, allocations: 7.922 kB / 0.6458 GB, free: 7.711 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.154e-05/0.1478, allocations: 15.98 kB / 0.6458 GB, free: 7.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1478, allocations: 0 / 0.6458 GB, free: 7.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1479, allocations: 0 / 0.6458 GB, free: 7.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1479, allocations: 0 / 0.6458 GB, free: 7.695 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.0002724/0.1481, allocations: 323.8 kB / 0.6461 GB, free: 7.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1482, allocations: 8.625 kB / 0.6462 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.1482, allocations: 34.75 kB / 0.6462 GB, free: 7.281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.1483, allocations: 0.9375 kB / 0.6462 GB, free: 7.281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.436e-05/0.1483, allocations: 168.3 kB / 0.6463 GB, free: 7.078 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1484, allocations: 384 / 0.6463 GB, free: 7.078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1484, allocations: 4.328 kB / 0.6463 GB, free: 7.074 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.27e-05/0.1485, allocations: 37.83 kB / 0.6464 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1485, allocations: 4 kB / 0.6464 GB, free: 7.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1485, allocations: 4 kB / 0.6464 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1485, allocations: 0 / 0.6464 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.606e-05/0.1486, allocations: 7.984 kB / 0.6464 GB, free: 7.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.1487, allocations: 153.7 kB / 0.6465 GB, free: 6.816 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1489, allocations: 34.52 kB / 0.6466 GB, free: 6.773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.1489, allocations: 12.8 kB / 0.6466 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.1491, allocations: 85.19 kB / 0.6467 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.1492, allocations: 38.5 kB / 0.6467 GB, free: 6.609 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1492, allocations: 0 / 0.6467 GB, free: 6.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0043/0.1535, allocations: 0.5715 MB / 0.6473 GB, free: 6.031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1535, allocations: 51.41 kB / 0.6473 GB, free: 5.969 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.473e-05/0.1536, allocations: 89.86 kB / 0.6474 GB, free: 5.871 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1536, allocations: 25.7 kB / 0.6474 GB, free: 5.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.1536, allocations: 84.14 kB / 0.6475 GB, free: 5.754 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/0.1537, allocations: 27.83 kB / 0.6475 GB, free: 5.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.1538, allocations: 17.72 kB / 0.6476 GB, free: 5.703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1539, allocations: 310.8 kB / 0.6478 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007078/0.1546, allocations: 83.95 kB / 0.6479 GB, free: 5.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/0.1553, allocations: 110.6 kB / 0.648 GB, free: 5.191 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.1565, allocations: 194.4 kB / 0.6482 GB, free: 4.992 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1565, allocations: 0 / 0.6482 GB, free: 4.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001311/0.1578, allocations: 217.5 kB / 0.6484 GB, free: 4.773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1579, allocations: 4 kB / 0.6484 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1579, allocations: 3.984 kB / 0.6484 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1579, allocations: 0 / 0.6484 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.1583, allocations: 52 kB / 0.6485 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.1583, allocations: 7.875 kB / 0.6485 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.1587, allocations: 39.98 kB / 0.6485 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.1587, allocations: 8 kB / 0.6485 GB, free: 4.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001023/0.1588, allocations: 110.7 kB / 0.6486 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.1589, allocations: 7.922 kB / 0.6486 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.1603, allocations: 241.1 kB / 0.6489 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.1603, allocations: 0 / 0.6489 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1603, allocations: 0 / 0.6489 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1603, allocations: 0 / 0.6489 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.1619, allocations: 454.4 kB / 0.6493 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1619, allocations: 0 / 0.6493 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.1623, allocations: 51.97 kB / 0.6494 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1623, allocations: 0 / 0.6494 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1624, allocations: 4 kB / 0.6494 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1624, allocations: 0 / 0.6494 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1624, allocations: 4.188 kB / 0.6494 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.1636, allocations: 315.3 kB / 0.6497 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.1637, allocations: 77.11 kB / 0.6497 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1637, allocations: 0 / 0.6497 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.1641, allocations: 47.97 kB / 0.6498 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.1641, allocations: 0 / 0.6498 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1641, allocations: 8 kB / 0.6498 GB, free: 3.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.914e-05/0.1642, allocations: 75.28 kB / 0.6499 GB, free: 3.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1642, allocations: 0 / 0.6499 GB, free: 3.188 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1644, allocations: 8 kB / 0.6499 GB, free: 3.18 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 (5): * Single equations (assignments): 5 * 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.001692/0.1661, allocations: 0.8483 MB / 0.6507 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.1675, allocations: 176 kB / 0.6509 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.1675, allocations: 0 / 0.6509 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000625/0.1681, allocations: 96.02 kB / 0.651 GB, free: 2.039 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.1683, allocations: 3.984 kB / 0.651 GB, free: 2.035 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.1697, allocations: 251.6 kB / 0.6512 GB, free: 1.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.17, allocations: 0.6807 MB / 0.6519 GB, free: 1.043 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.1702, allocations: 24 kB / 0.6519 GB, free: 1.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.1703, allocations: 7.438 kB / 0.6519 GB, free: 1.012 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1703, allocations: 4 kB / 0.6519 GB, free: 1.008 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.1909, allocations: 1.644 MB / 0.6535 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.544, allocations: 5.031 kB / 0.6535 GB, free: 15.5 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)