Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9758/0.9758, allocations: 175.7 MB / 480.1 MB, free: 2.793 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 73.39 kB / 0.6678 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1533, allocations: 94.52 MB / 0.7601 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001582/0.1549, allocations: 0.6045 MB / 0.7607 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1562, allocations: 1.118 MB / 0.7618 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.1562, allocations: 0 / 0.7618 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.1562, allocations: 3.938 kB / 0.7618 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1564, allocations: 11.94 kB / 0.7618 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.1564, allocations: 0 / 0.7618 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.429e-05/0.1564, allocations: 15.97 kB / 0.7618 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.1565, allocations: 4 kB / 0.7618 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.463e-05/0.1565, allocations: 0 / 0.7618 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.019e-05/0.1565, allocations: 7.938 kB / 0.7618 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.022e-06/0.1565, allocations: 0 / 0.7618 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.431e-05/0.1566, allocations: 19.92 kB / 0.7619 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.039e-06/0.1566, allocations: 3.938 kB / 0.7619 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.359e-05/0.1566, allocations: 7.984 kB / 0.7619 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 7.173e-05/0.1567, allocations: 16.2 kB / 0.7619 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1567, allocations: 0 / 0.7619 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1567, allocations: 0 / 0.7619 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.1567, allocations: 0 / 0.7619 GB, free: 14.94 MB / 0.5762 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.0002776/0.157, allocations: 319.5 kB / 0.7622 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.157, allocations: 16.03 kB / 0.7622 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.1571, allocations: 34.75 kB / 0.7622 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.932e-05/0.1571, allocations: 0.9375 kB / 0.7622 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1572, allocations: 168.3 kB / 0.7624 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1572, allocations: 4.375 kB / 0.7624 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1572, allocations: 8.328 kB / 0.7624 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.369e-05/0.1573, allocations: 37.83 kB / 0.7624 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1573, allocations: 0 / 0.7624 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1573, allocations: 3.984 kB / 0.7625 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1573, allocations: 0 / 0.7625 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.1573, allocations: 11.98 kB / 0.7625 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.1575, allocations: 149.7 kB / 0.7626 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.1577, allocations: 34.55 kB / 0.7626 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.1577, allocations: 8.859 kB / 0.7626 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.1578, allocations: 85.19 kB / 0.7627 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1578, allocations: 38.5 kB / 0.7628 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1578, allocations: 4 kB / 0.7628 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004015/0.1618, allocations: 0.5638 MB / 0.7633 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1619, allocations: 51.41 kB / 0.7634 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.515e-05/0.1619, allocations: 89.86 kB / 0.7635 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1619, allocations: 25.7 kB / 0.7635 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.162, allocations: 80.14 kB / 0.7636 GB, free: 13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.162, allocations: 31.78 kB / 0.7636 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.1621, allocations: 17.72 kB / 0.7636 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1622, allocations: 310.8 kB / 0.7639 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/0.1628, allocations: 83.95 kB / 0.764 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000581/0.1633, allocations: 106.5 kB / 0.7641 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.1645, allocations: 186.5 kB / 0.7643 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1645, allocations: 4 kB / 0.7643 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001195/0.1657, allocations: 217.5 kB / 0.7645 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.1657, allocations: 4 kB / 0.7645 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1657, allocations: 0 / 0.7645 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1657, allocations: 7.984 kB / 0.7645 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.1661, allocations: 51.94 kB / 0.7645 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1661, allocations: 7.875 kB / 0.7645 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.1664, allocations: 39.98 kB / 0.7646 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.1664, allocations: 4 kB / 0.7646 GB, free: 11.91 MB / 0.5762 GB 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 8.254e-05/0.1665, allocations: 109.8 kB / 0.7647 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.1665, allocations: 7.938 kB / 0.7647 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.1678, allocations: 237.1 kB / 0.7649 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1678, allocations: 0 / 0.7649 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1678, allocations: 0 / 0.7649 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1678, allocations: 0 / 0.7649 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.1693, allocations: 462.6 kB / 0.7654 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1693, allocations: 0 / 0.7654 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.1696, allocations: 51.97 kB / 0.7654 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1696, allocations: 0 / 0.7654 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1697, allocations: 4 kB / 0.7654 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1697, allocations: 0 / 0.7654 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1697, allocations: 4 kB / 0.7654 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.1709, allocations: 311.3 kB / 0.7657 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.1709, allocations: 77.11 kB / 0.7658 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.1709, allocations: 4 kB / 0.7658 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.1713, allocations: 39.97 kB / 0.7658 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.1713, allocations: 4.422 kB / 0.7658 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1713, allocations: 4 kB / 0.7658 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.1714, allocations: 79.28 kB / 0.7659 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1714, allocations: 0 / 0.7659 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002283/0.1716, allocations: 12 kB / 0.7659 GB, free: 10.43 MB / 0.5762 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 (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.001575/0.1732, allocations: 0.845 MB / 0.7667 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.1743, allocations: 176 kB / 0.7669 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1743, allocations: 0 / 0.7669 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005721/0.1749, allocations: 92.02 kB / 0.767 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.1751, allocations: 4 kB / 0.767 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1763, allocations: 238.5 kB / 0.7672 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1766, allocations: 0.6729 MB / 0.7679 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.1768, allocations: 36.23 kB / 0.7679 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.1768, allocations: 11.44 kB / 0.7679 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1768, allocations: 3.938 kB / 0.7679 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.1988, allocations: 1.618 MB / 0.7695 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.022/7.221, allocations: 2.188 kB / 0.7695 GB, free: 6.73 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.617906051003956]