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.001077/0.001077, allocations: 92.17 kB / 16.02 MB, free: 84 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.0009283/0.0009284, allocations: 185.4 kB / 16.92 MB, free: 6.934 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.316/1.316, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6454/0.6454, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 12.78 kB / 496 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1671, allocations: 77.53 MB / 0.5601 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007626/0.1679, allocations: 311.8 kB / 0.5604 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1694, allocations: 1.095 MB / 0.5614 GB, free: 7.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.467e-05/0.1695, allocations: 0 / 0.5614 GB, free: 7.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.1695, allocations: 3.938 kB / 0.5614 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.1698, allocations: 19.97 kB / 0.5614 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.815e-06/0.1698, allocations: 0 / 0.5614 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.741e-05/0.1698, allocations: 4 kB / 0.5615 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.1699, allocations: 0 / 0.5615 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.841e-05/0.1699, allocations: 3.938 kB / 0.5615 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.679e-05/0.1699, allocations: 3.938 kB / 0.5615 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.1699, allocations: 8 kB / 0.5615 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1701, allocations: 19.98 kB / 0.5615 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.1701, allocations: 3.984 kB / 0.5615 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.1701, allocations: 25.7 kB / 0.5615 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.1702, allocations: 15.92 kB / 0.5615 GB, free: 7.367 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1703, allocations: 3.938 kB / 0.5615 GB, free: 7.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1703, allocations: 0 / 0.5615 GB, free: 7.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1703, allocations: 0 / 0.5615 GB, free: 7.363 MB / 430.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.000274/0.1706, allocations: 315.6 kB / 0.5618 GB, free: 7.008 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.1706, allocations: 12.03 kB / 0.5618 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.1707, allocations: 34.75 kB / 0.5619 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.1707, allocations: 0.9375 kB / 0.5619 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1709, allocations: 160.4 kB / 0.562 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1709, allocations: 384 / 0.562 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.1709, allocations: 12.36 kB / 0.562 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.171, allocations: 37.83 kB / 0.5621 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.171, allocations: 0 / 0.5621 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1711, allocations: 0 / 0.5621 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1711, allocations: 0 / 0.5621 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.81e-05/0.1711, allocations: 11.92 kB / 0.5621 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.1713, allocations: 157.6 kB / 0.5622 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1715, allocations: 34.61 kB / 0.5623 GB, free: 6.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.1715, allocations: 4.859 kB / 0.5623 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.1717, allocations: 85.19 kB / 0.5624 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1717, allocations: 34.5 kB / 0.5624 GB, free: 6.293 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.895e-06/0.1718, allocations: 8 kB / 0.5624 GB, free: 6.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.004278/0.176, allocations: 0.5761 MB / 0.563 GB, free: 5.703 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.1761, allocations: 51.41 kB / 0.563 GB, free: 5.641 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.777e-05/0.1762, allocations: 89.86 kB / 0.5631 GB, free: 5.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1762, allocations: 29.7 kB / 0.5631 GB, free: 5.508 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.1762, allocations: 84.08 kB / 0.5632 GB, free: 5.422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.1763, allocations: 15.75 kB / 0.5632 GB, free: 5.406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.1763, allocations: 13.7 kB / 0.5632 GB, free: 5.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1765, allocations: 314.8 kB / 0.5635 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005871/0.1771, allocations: 83.95 kB / 0.5636 GB, free: 4.988 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/0.1777, allocations: 106.5 kB / 0.5637 GB, free: 4.875 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.1789, allocations: 190.4 kB / 0.5639 GB, free: 4.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1789, allocations: 0 / 0.5639 GB, free: 4.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001243/0.1802, allocations: 217.5 kB / 0.5641 GB, free: 4.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.1802, allocations: 8 kB / 0.5641 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1802, allocations: 0 / 0.5641 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1802, allocations: 0 / 0.5641 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.1806, allocations: 52 kB / 0.5642 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1807, allocations: 0 / 0.5642 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.181, allocations: 43.97 kB / 0.5642 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.181, allocations: 0 / 0.5642 GB, free: 4.359 MB / 430.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 9.711e-05/0.1811, allocations: 113.8 kB / 0.5643 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.1812, allocations: 7.844 kB / 0.5643 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.1826, allocations: 241 kB / 0.5646 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1826, allocations: 0 / 0.5646 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1826, allocations: 0 / 0.5646 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1826, allocations: 0 / 0.5646 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.1842, allocations: 454.5 kB / 0.565 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1842, allocations: 320 / 0.565 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.1846, allocations: 51.91 kB / 0.565 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1846, allocations: 8 kB / 0.565 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.1847, allocations: 7.984 kB / 0.5651 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1847, allocations: 0 / 0.5651 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1847, allocations: 0 / 0.5651 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.186, allocations: 299.4 kB / 0.5653 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.186, allocations: 81.09 kB / 0.5654 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.186, allocations: 4 kB / 0.5654 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.1864, allocations: 35.98 kB / 0.5655 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.1865, allocations: 7.984 kB / 0.5655 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1865, allocations: 4 kB / 0.5655 GB, free: 2.969 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.95e-05/0.1865, allocations: 79.31 kB / 0.5655 GB, free: 2.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1865, allocations: 0 / 0.5655 GB, free: 2.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1868, allocations: 16 kB / 0.5656 GB, free: 2.875 MB / 430.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.001725/0.1885, allocations: 0.845 MB / 0.5664 GB, free: 2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.1898, allocations: 183.9 kB / 0.5666 GB, free: 1.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1898, allocations: 3.938 kB / 0.5666 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005948/0.1904, allocations: 92.02 kB / 0.5666 GB, free: 1.727 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.1906, allocations: 4 kB / 0.5666 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1919, allocations: 244.3 kB / 0.5669 GB, free: 1.445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1922, allocations: 0.6809 MB / 0.5675 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.1924, allocations: 24 kB / 0.5676 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.1925, allocations: 19.42 kB / 0.5676 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1925, allocations: 0 / 0.5676 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/0.3231, allocations: 1.427 MB / 0.569 GB, free: 15.45 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003408/0.3235, allocations: 226.2 kB / 0.5692 GB, free: 15.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.382, allocations: 0 / 0.5692 GB, free: 15.19 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)