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.0007626/0.0007626, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0007954/0.0007955, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7239/0.7239, allocations: 132.3 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 12 kB / 0.5035 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4232, allocations: 81.57 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006759/0.4239, allocations: 324.5 kB / 0.5835 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.4252, allocations: 1.077 MB / 0.5845 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.774e-05/0.4252, allocations: 0 / 0.5845 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.051e-05/0.4253, allocations: 0 / 0.5845 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.4255, allocations: 16.94 kB / 0.5845 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.977e-06/0.4255, allocations: 0 / 0.5845 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.6e-05/0.4256, allocations: 11.3 kB / 0.5846 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.4257, allocations: 8.656 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.497e-05/0.4257, allocations: 1.375 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.732e-05/0.4257, allocations: 2.219 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.4257, allocations: 0 / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.4258, allocations: 24.45 kB / 0.5846 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.418e-06/0.4259, allocations: 0 / 0.5846 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.4259, allocations: 27.03 kB / 0.5846 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.303e-05/0.4259, allocations: 5.547 kB / 0.5846 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.426, allocations: 0.7969 kB / 0.5846 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.426, allocations: 0.6562 kB / 0.5846 GB, free: 2.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.426, allocations: 0 / 0.5846 GB, free: 2.898 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.0002132/0.4262, allocations: 317.5 kB / 0.5849 GB, free: 2.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4262, allocations: 9.094 kB / 0.5849 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.4263, allocations: 35.12 kB / 0.585 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.4263, allocations: 8.984 kB / 0.585 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.341e-05/0.4264, allocations: 164.2 kB / 0.5851 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.4264, allocations: 0.9688 kB / 0.5851 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.4264, allocations: 6.703 kB / 0.5851 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.4265, allocations: 31.7 kB / 0.5852 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4266, allocations: 4.75 kB / 0.5852 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.4266, allocations: 5.438 kB / 0.5852 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4266, allocations: 0 / 0.5852 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.627e-05/0.4266, allocations: 5.422 kB / 0.5852 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.4268, allocations: 155.2 kB / 0.5853 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.4269, allocations: 33.47 kB / 0.5854 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.427, allocations: 12.41 kB / 0.5854 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.4271, allocations: 82.05 kB / 0.5855 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.4272, allocations: 35.88 kB / 0.5855 GB, free: 1.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4272, allocations: 4.688 kB / 0.5855 GB, free: 1.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.003643/0.4308, allocations: 0.5695 MB / 0.586 GB, free: 1.789 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.4309, allocations: 52.84 kB / 0.5861 GB, free: 1.727 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.53e-05/0.4309, allocations: 90.52 kB / 0.5862 GB, free: 1.629 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4309, allocations: 26.7 kB / 0.5862 GB, free: 1.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.524e-05/0.4309, allocations: 80.14 kB / 0.5863 GB, free: 1.516 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.431, allocations: 31.05 kB / 0.5863 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.431, allocations: 0 / 0.5863 GB, free: 1.488 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.018e-05/0.4311, allocations: 317.4 kB / 0.5866 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/0.4316, allocations: 83.5 kB / 0.5867 GB, free: 1.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.4321, allocations: 103.5 kB / 0.5868 GB, free: 1.129 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.4326, allocations: 87.98 kB / 0.5869 GB, free: 1.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4326, allocations: 0 / 0.5869 GB, free: 1.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001052/0.4337, allocations: 212.6 kB / 0.5871 GB, free: 1.062 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.4337, allocations: 5.594 kB / 0.5871 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.4337, allocations: 2 kB / 0.5871 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4338, allocations: 0.9062 kB / 0.5871 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.4341, allocations: 54.42 kB / 0.5871 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4341, allocations: 1.719 kB / 0.5871 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.4344, allocations: 39.73 kB / 0.5872 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.4344, allocations: 3.906 kB / 0.5872 GB, free: 1.051 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.087e-05/0.4345, allocations: 114.2 kB / 0.5873 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.4345, allocations: 0 / 0.5873 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.4357, allocations: 247.5 kB / 0.5875 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4357, allocations: 1.75 kB / 0.5875 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4358, allocations: 0 / 0.5875 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4358, allocations: 0 / 0.5875 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.437, allocations: 454.6 kB / 0.588 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4371, allocations: 1.469 kB / 0.588 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.4374, allocations: 47.94 kB / 0.588 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.4374, allocations: 0.7188 kB / 0.588 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.4374, allocations: 5.984 kB / 0.588 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.4374, allocations: 1.812 kB / 0.588 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4374, allocations: 4 kB / 0.588 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.4384, allocations: 304.5 kB / 0.5883 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.4385, allocations: 78.77 kB / 0.5884 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.4385, allocations: 9.516 kB / 0.5884 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.4388, allocations: 40.53 kB / 0.5884 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.4388, allocations: 6.219 kB / 0.5884 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.4388, allocations: 2.297 kB / 0.5884 GB, free: 260 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.76e-05/0.4389, allocations: 75.28 kB / 0.5885 GB, free: 184 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4389, allocations: 4.625 kB / 0.5885 GB, free: 180 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.4391, allocations: 14.55 kB / 0.5885 GB, free: 176 kB / 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.001527/0.4407, allocations: 0.8287 MB / 0.5893 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.4419, allocations: 183.2 kB / 0.5895 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4419, allocations: 0 / 0.5895 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.4424, allocations: 93.42 kB / 0.5896 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.4427, allocations: 5.672 kB / 0.5896 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.4439, allocations: 243.5 kB / 0.5899 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.4441, allocations: 0.68 MB / 0.5905 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.4443, allocations: 27.94 kB / 0.5905 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.4444, allocations: 11.81 kB / 0.5906 GB, free: 14.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4444, allocations: 0 / 0.5906 GB, free: 14.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.4563, allocations: 1.433 MB / 0.592 GB, free: 14.45 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.4566, allocations: 190.5 kB / 0.5921 GB, free: 14.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.043, allocations: 3.625 kB / 0.5921 GB, free: 14.21 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: