Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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) 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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_IDEAS_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.001362/0.001362, allocations: 108 kB / 15.6 MB, free: 132 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.001165/0.001165, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7521/0.7521, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 79.72 kB / 0.5019 GB, free: 8.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1364, allocations: 80.2 MB / 0.5802 GB, free: 8.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001723/0.1382, allocations: 0.5914 MB / 0.5808 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1395, allocations: 1.098 MB / 0.5819 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.1395, allocations: 4 kB / 0.5819 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.1396, allocations: 0 / 0.5819 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.1398, allocations: 23.86 kB / 0.5819 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.347e-06/0.1398, allocations: 0 / 0.5819 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.381e-05/0.1398, allocations: 3.984 kB / 0.5819 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.1399, allocations: 4 kB / 0.5819 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.555e-05/0.1399, allocations: 3.938 kB / 0.5819 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.866e-05/0.1399, allocations: 0 / 0.5819 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.993e-06/0.1399, allocations: 0 / 0.5819 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.72e-05/0.14, allocations: 23.91 kB / 0.5819 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.1401, allocations: 4 kB / 0.5819 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.267e-05/0.1401, allocations: 11.98 kB / 0.5819 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.052e-05/0.1402, allocations: 15.92 kB / 0.5819 GB, free: 6.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1402, allocations: 0 / 0.5819 GB, free: 6.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1402, allocations: 0 / 0.5819 GB, free: 6.844 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1402, allocations: 0 / 0.5819 GB, free: 6.844 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.0002489/0.1405, allocations: 315.6 kB / 0.5822 GB, free: 6.488 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1405, allocations: 12.03 kB / 0.5823 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.944e-05/0.1405, allocations: 34.73 kB / 0.5823 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.1406, allocations: 0.9375 kB / 0.5823 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.3e-05/0.1407, allocations: 164.4 kB / 0.5824 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1407, allocations: 4.312 kB / 0.5825 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1407, allocations: 4.375 kB / 0.5825 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.211e-05/0.1408, allocations: 41.81 kB / 0.5825 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1408, allocations: 3.906 kB / 0.5825 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.1408, allocations: 0 / 0.5825 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1408, allocations: 0 / 0.5825 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.231e-05/0.1409, allocations: 4 kB / 0.5825 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.141, allocations: 153.7 kB / 0.5827 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1412, allocations: 42.55 kB / 0.5827 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.1412, allocations: 8.859 kB / 0.5827 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.1414, allocations: 77.11 kB / 0.5828 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.1414, allocations: 42.5 kB / 0.5828 GB, free: 5.766 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.1414, allocations: 0 / 0.5828 GB, free: 5.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004424/0.1458, allocations: 0.5683 MB / 0.5834 GB, free: 5.191 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.1459, allocations: 55.34 kB / 0.5834 GB, free: 5.125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.143e-05/0.1459, allocations: 93.86 kB / 0.5835 GB, free: 5.023 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.146, allocations: 33.69 kB / 0.5835 GB, free: 4.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.146, allocations: 80.14 kB / 0.5836 GB, free: 4.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.146, allocations: 11.81 kB / 0.5836 GB, free: 4.891 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.1461, allocations: 17.72 kB / 0.5836 GB, free: 4.867 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.1462, allocations: 314.8 kB / 0.5839 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006206/0.1468, allocations: 87.95 kB / 0.584 GB, free: 4.465 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/0.1475, allocations: 102.5 kB / 0.5841 GB, free: 4.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.1487, allocations: 190.4 kB / 0.5843 GB, free: 4.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1488, allocations: 0 / 0.5843 GB, free: 4.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001308/0.1501, allocations: 225.4 kB / 0.5845 GB, free: 3.934 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1501, allocations: 4 kB / 0.5845 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1501, allocations: 0 / 0.5845 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1501, allocations: 48 / 0.5845 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.1505, allocations: 59.98 kB / 0.5846 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1506, allocations: 0 / 0.5846 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.1509, allocations: 43.92 kB / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.1509, allocations: 3.984 kB / 0.5846 GB, free: 3.824 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 8.649e-05/0.151, allocations: 110.5 kB / 0.5847 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.1511, allocations: 3.938 kB / 0.5847 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.1525, allocations: 241.1 kB / 0.585 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1525, allocations: 0 / 0.585 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1525, allocations: 0 / 0.585 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1525, allocations: 0 / 0.585 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.154, allocations: 458.4 kB / 0.5854 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.154, allocations: 320 / 0.5854 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.1544, allocations: 47.97 kB / 0.5855 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1545, allocations: 4 kB / 0.5855 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1545, allocations: 8 kB / 0.5855 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1545, allocations: 0 / 0.5855 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1545, allocations: 0 / 0.5855 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.1558, allocations: 307.3 kB / 0.5858 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.1559, allocations: 81.02 kB / 0.5858 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.1559, allocations: 7.984 kB / 0.5858 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.1563, allocations: 39.98 kB / 0.5859 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.1563, allocations: 0 / 0.5859 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1563, allocations: 7.984 kB / 0.5859 GB, free: 2.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.518e-05/0.1564, allocations: 79.28 kB / 0.586 GB, free: 2.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1564, allocations: 0 / 0.586 GB, free: 2.348 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1566, allocations: 12 kB / 0.586 GB, free: 2.336 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.001594/0.1582, allocations: 0.8479 MB / 0.5868 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.1595, allocations: 176 kB / 0.587 GB, free: 1.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1595, allocations: 3.938 kB / 0.587 GB, free: 1.289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006417/0.1602, allocations: 100 kB / 0.5871 GB, free: 1.191 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.1604, allocations: 4 kB / 0.5871 GB, free: 1.188 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1617, allocations: 246.5 kB / 0.5873 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.1619, allocations: 0.6768 MB / 0.588 GB, free: 208 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.1622, allocations: 28 kB / 0.588 GB, free: 180 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.1622, allocations: 11.44 kB / 0.588 GB, free: 168 kB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1622, allocations: 0 / 0.588 GB, free: 168 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2496/0.4118, allocations: 1.605 MB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.926/10.34, allocations: 3.469 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)