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.001692/0.001692, allocations: 97.28 kB / 15.69 MB, free: 480 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.001939/0.001939, allocations: 179.7 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.518/2.518, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8769/0.8769, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005197/0.0005199, allocations: 9.5 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1709, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0005771/0.1715, allocations: 314.6 kB / 0.557 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1725, allocations: 1.072 MB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.1726, allocations: 0 / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.076e-05/0.1726, allocations: 0 / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.1728, allocations: 19.91 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.575e-06/0.1728, allocations: 0 / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.785e-05/0.1728, allocations: 4 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.1728, allocations: 4 kB / 0.5581 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.11e-05/0.1729, allocations: 0 / 0.5581 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.325e-05/0.1729, allocations: 7.984 kB / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.822e-06/0.1729, allocations: 0 / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.2e-05/0.173, allocations: 15.98 kB / 0.5581 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.568e-06/0.173, allocations: 3.938 kB / 0.5581 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.264e-05/0.173, allocations: 25.7 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.365e-05/0.1731, allocations: 11.97 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.1731, allocations: 0 / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1731, allocations: 3.938 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.1731, allocations: 0 / 0.5582 GB, free: 10.19 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.0001908/0.1733, allocations: 323.4 kB / 0.5585 GB, free: 9.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1733, allocations: 8.031 kB / 0.5585 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.606e-05/0.1733, allocations: 34.55 kB / 0.5585 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.815e-05/0.1734, allocations: 8 kB / 0.5585 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.466e-05/0.1734, allocations: 159.1 kB / 0.5587 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.1735, allocations: 0 / 0.5587 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.1735, allocations: 0 / 0.5587 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.683e-05/0.1736, allocations: 41.64 kB / 0.5587 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1736, allocations: 0 / 0.5587 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-06/0.1736, allocations: 4 kB / 0.5587 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1736, allocations: 4 kB / 0.5587 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.931e-05/0.1736, allocations: 3.938 kB / 0.5587 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.1737, allocations: 153.7 kB / 0.5589 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1739, allocations: 34.61 kB / 0.5589 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.174, allocations: 81.11 kB / 0.559 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.174, allocations: 34.56 kB / 0.559 GB, free: 9.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.174, allocations: 0 / 0.559 GB, free: 9.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.003783/0.1778, allocations: 0.5756 MB / 0.5596 GB, free: 8.547 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.1779, allocations: 55.34 kB / 0.5596 GB, free: 8.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.353e-05/0.1779, allocations: 93.86 kB / 0.5597 GB, free: 8.379 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1779, allocations: 25.7 kB / 0.5597 GB, free: 8.348 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.899e-05/0.178, allocations: 80.14 kB / 0.5598 GB, free: 8.266 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.178, allocations: 15.8 kB / 0.5598 GB, free: 8.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-06/0.178, allocations: 0 / 0.5598 GB, free: 8.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.1781, allocations: 318.8 kB / 0.5601 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.1786, allocations: 79.95 kB / 0.5602 GB, free: 7.852 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.1792, allocations: 98.95 kB / 0.5603 GB, free: 7.746 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.1797, allocations: 87.95 kB / 0.5604 GB, free: 7.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1798, allocations: 4 kB / 0.5604 GB, free: 7.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001152/0.1809, allocations: 209.6 kB / 0.5606 GB, free: 7.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1809, allocations: 4 kB / 0.5606 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.181, allocations: 4.062 kB / 0.5606 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.181, allocations: 3.953 kB / 0.5606 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.1813, allocations: 55.97 kB / 0.5607 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1814, allocations: 3.938 kB / 0.5607 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.1817, allocations: 43.97 kB / 0.5607 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1817, allocations: 7.922 kB / 0.5607 GB, free: 7.324 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.306e-05/0.1818, allocations: 109.8 kB / 0.5608 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.1818, allocations: 7.891 kB / 0.5608 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.1831, allocations: 237.1 kB / 0.5611 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1831, allocations: 3.938 kB / 0.5611 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.1831, allocations: 7.953 kB / 0.5611 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1831, allocations: 3.984 kB / 0.5611 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.1845, allocations: 450.7 kB / 0.5615 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1845, allocations: 4.062 kB / 0.5615 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.1849, allocations: 47.97 kB / 0.5616 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1849, allocations: 3.953 kB / 0.5616 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1849, allocations: 4 kB / 0.5616 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1849, allocations: 0 / 0.5616 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1849, allocations: 0 / 0.5616 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.186, allocations: 303.4 kB / 0.5619 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.1861, allocations: 81.11 kB / 0.5619 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1861, allocations: 7.953 kB / 0.5619 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.1864, allocations: 39.98 kB / 0.562 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.1865, allocations: 3.984 kB / 0.562 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.1865, allocations: 0 / 0.562 GB, free: 5.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.505e-05/0.1865, allocations: 75.28 kB / 0.5621 GB, free: 5.852 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1865, allocations: 0 / 0.5621 GB, free: 5.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000234/0.1868, allocations: 12 kB / 0.5621 GB, free: 5.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00137/0.1881, allocations: 0.8457 MB / 0.5629 GB, free: 4.965 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.1893, allocations: 175.9 kB / 0.5631 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1893, allocations: 4.188 kB / 0.5631 GB, free: 4.789 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.1898, allocations: 91.89 kB / 0.5631 GB, free: 4.699 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.1899, allocations: 3.953 kB / 0.5632 GB, free: 4.695 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.1911, allocations: 248.6 kB / 0.5634 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.1913, allocations: 0.6809 MB / 0.5641 GB, free: 3.707 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000214/0.1915, allocations: 32 kB / 0.5641 GB, free: 3.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.1916, allocations: 11.44 kB / 0.5641 GB, free: 3.664 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1916, allocations: 0 / 0.5641 GB, free: 3.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9998/1.191, allocations: 1.418 MB / 0.5655 GB, free: 2.426 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/1.192, allocations: 201.1 kB / 0.5657 GB, free: 2.184 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/4.003, allocations: 8 kB / 0.5657 GB, free: 2.176 MB / 430.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/linux/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) Environment - environmentSimulation: