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) 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-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005078/0.005078, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001165/0.001165, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9748/0.9748, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.91 kB / 0.5852 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.465/0.4663, allocations: 80.91 MB / 0.6642 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001707/0.4681, allocations: 0.5815 MB / 0.6648 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.4694, allocations: 1.108 MB / 0.6658 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.4695, allocations: 1.312 kB / 0.6658 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.4695, allocations: 4 kB / 0.6658 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.4698, allocations: 22.45 kB / 0.6659 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.346e-06/0.4698, allocations: 0 / 0.6659 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.834e-05/0.4699, allocations: 6.453 kB / 0.6659 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.4699, allocations: 1.625 kB / 0.6659 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.524e-05/0.4699, allocations: 1.312 kB / 0.6659 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.514e-05/0.47, allocations: 5.531 kB / 0.6659 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.184e-06/0.47, allocations: 3.938 kB / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.4701, allocations: 20.02 kB / 0.6659 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.502e-06/0.4701, allocations: 0 / 0.6659 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/0.4701, allocations: 9.047 kB / 0.6659 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.481e-05/0.4702, allocations: 9.422 kB / 0.6659 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4702, allocations: 0 / 0.6659 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4702, allocations: 0 / 0.6659 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.4702, allocations: 1.156 kB / 0.6659 GB, free: 5.879 MB / 0.4981 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.0002014/0.4704, allocations: 319.7 kB / 0.6662 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4705, allocations: 10.66 kB / 0.6662 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.57e-05/0.4705, allocations: 38.69 kB / 0.6663 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.4705, allocations: 2.062 kB / 0.6663 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.594e-05/0.4706, allocations: 168.3 kB / 0.6664 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.4706, allocations: 13.38 kB / 0.6665 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.4707, allocations: 1.625 kB / 0.6665 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.192e-05/0.4707, allocations: 33.55 kB / 0.6665 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4708, allocations: 1.281 kB / 0.6665 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.4708, allocations: 3.984 kB / 0.6665 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4708, allocations: 0 / 0.6665 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.994e-05/0.4708, allocations: 11.98 kB / 0.6665 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001015/0.4709, allocations: 148.7 kB / 0.6666 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.4711, allocations: 38.77 kB / 0.6667 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.4711, allocations: 11.22 kB / 0.6667 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.4713, allocations: 85.48 kB / 0.6668 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.4713, allocations: 34.5 kB / 0.6668 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4713, allocations: 1.156 kB / 0.6668 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004029/0.4753, allocations: 0.5746 MB / 0.6674 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.4754, allocations: 52.41 kB / 0.6674 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.647e-05/0.4754, allocations: 89.86 kB / 0.6675 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.4754, allocations: 25.7 kB / 0.6675 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.348e-05/0.4754, allocations: 81.11 kB / 0.6676 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.4755, allocations: 26.19 kB / 0.6676 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.4755, allocations: 13.75 kB / 0.6676 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.547e-05/0.4756, allocations: 316.2 kB / 0.6679 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/0.4762, allocations: 86.81 kB / 0.668 GB, free: 4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.4767, allocations: 102.8 kB / 0.6681 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.4779, allocations: 192 kB / 0.6683 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4779, allocations: 0 / 0.6683 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001199/0.4791, allocations: 214.4 kB / 0.6685 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4791, allocations: 8.953 kB / 0.6685 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4791, allocations: 1.531 kB / 0.6685 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4791, allocations: 1.406 kB / 0.6685 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.4795, allocations: 49.5 kB / 0.6686 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4795, allocations: 1.094 kB / 0.6686 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.4799, allocations: 43.39 kB / 0.6686 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.4799, allocations: 1.406 kB / 0.6686 GB, free: 3.773 MB / 0.4981 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 6.326e-05/0.48, allocations: 125.9 kB / 0.6687 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.48, allocations: 5.219 kB / 0.6687 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.4813, allocations: 230.2 kB / 0.669 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4813, allocations: 1.562 kB / 0.669 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4813, allocations: 4 kB / 0.669 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4813, allocations: 1.094 kB / 0.669 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.4828, allocations: 462.3 kB / 0.6694 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4828, allocations: 0 / 0.6694 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.4832, allocations: 52.97 kB / 0.6695 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.4832, allocations: 1.344 kB / 0.6695 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.4832, allocations: 1.125 kB / 0.6695 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4832, allocations: 0 / 0.6695 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4832, allocations: 0 / 0.6695 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.4845, allocations: 314 kB / 0.6698 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.4845, allocations: 78.48 kB / 0.6698 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.4845, allocations: 1.656 kB / 0.6698 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.4849, allocations: 42.53 kB / 0.6699 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.4849, allocations: 1.406 kB / 0.6699 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.4849, allocations: 1.5 kB / 0.6699 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.581e-05/0.485, allocations: 75.28 kB / 0.67 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.485, allocations: 0 / 0.67 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002524/0.4852, allocations: 13.66 kB / 0.67 GB, free: 2.77 MB / 0.4981 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.001506/0.4867, allocations: 0.8471 MB / 0.6708 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.488, allocations: 176.3 kB / 0.671 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.488, allocations: 5.344 kB / 0.671 GB, free: 2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000608/0.4886, allocations: 92.06 kB / 0.6711 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.4889, allocations: 5.094 kB / 0.6711 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.4903, allocations: 255.1 kB / 0.6713 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.4904, allocations: 0.6781 MB / 0.672 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000165/0.4906, allocations: 31.84 kB / 0.672 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.4907, allocations: 10.09 kB / 0.672 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.4907, allocations: 0 / 0.672 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.5081, allocations: 1.632 MB / 0.6736 GB, free: 148 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/7.839, allocations: 9.875 kB / 0.6736 GB, free: 148 kB / 0.4981 GB (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)