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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.006277/0.006276, allocations: 169.8 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7439/0.7439, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 97.52 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003809, allocations: 16 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3718, allocations: 82.31 MB / 0.6496 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.5055, allocations: 111.2 MB / 0.7581 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.5058, allocations: 79.95 kB / 0.7582 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002327/0.5082, allocations: 0.8881 MB / 0.7591 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5082, allocations: 0 / 0.7591 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.5082, allocations: 0 / 0.7591 GB, free: 3.809 MB / 0.5261 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.0002365/0.5084, allocations: 315.5 kB / 0.7594 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5085, allocations: 8.031 kB / 0.7594 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.5085, allocations: 34.56 kB / 0.7594 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.904e-05/0.5085, allocations: 0 / 0.7594 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.72e-05/0.5086, allocations: 175 kB / 0.7596 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.5087, allocations: 8 kB / 0.7596 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.5087, allocations: 3.984 kB / 0.7596 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.206e-05/0.5088, allocations: 33.64 kB / 0.7596 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5088, allocations: 7.906 kB / 0.7596 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.5088, allocations: 0 / 0.7596 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5088, allocations: 0 / 0.7596 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.584e-05/0.5088, allocations: 15.92 kB / 0.7597 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.509, allocations: 149.7 kB / 0.7598 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.5091, allocations: 34.58 kB / 0.7598 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.5093, allocations: 89.12 kB / 0.7599 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.5093, allocations: 30.56 kB / 0.7599 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5093, allocations: 4 kB / 0.7599 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.004181/0.5135, allocations: 0.5598 MB / 0.7605 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.5136, allocations: 51.41 kB / 0.7605 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.503e-05/0.5136, allocations: 89 kB / 0.7606 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.5137, allocations: 33.7 kB / 0.7607 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.5137, allocations: 80.14 kB / 0.7607 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.5137, allocations: 7.812 kB / 0.7607 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.5137, allocations: 0 / 0.7607 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.5139, allocations: 318.8 kB / 0.761 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/0.5145, allocations: 83.94 kB / 0.7611 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.5151, allocations: 98.53 kB / 0.7612 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.5157, allocations: 83.95 kB / 0.7613 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5157, allocations: 3.953 kB / 0.7613 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00128/0.517, allocations: 225.4 kB / 0.7615 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.517, allocations: 8 kB / 0.7615 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.517, allocations: 0 / 0.7615 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.517, allocations: 0 / 0.7615 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.5175, allocations: 55.94 kB / 0.7616 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.5176, allocations: 0 / 0.7616 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.5179, allocations: 39.98 kB / 0.7616 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.518, allocations: 0 / 0.7616 GB, free: 0.957 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.5181, allocations: 121.8 kB / 0.7617 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.5181, allocations: 3.953 kB / 0.7617 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.5195, allocations: 237 kB / 0.762 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.5195, allocations: 4 kB / 0.762 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5195, allocations: 0 / 0.762 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5196, allocations: 0 / 0.762 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.5211, allocations: 454.5 kB / 0.7624 GB, free: 84 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5211, allocations: 4.312 kB / 0.7624 GB, free: 80 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.5215, allocations: 47.97 kB / 0.7625 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5215, allocations: 3.938 kB / 0.7625 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.5216, allocations: 15.94 kB / 0.7625 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5216, allocations: 0 / 0.7625 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5216, allocations: 0 / 0.7625 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.5229, allocations: 299.8 kB / 0.7628 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.5229, allocations: 85.02 kB / 0.7628 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.523, allocations: 0 / 0.7628 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.5233, allocations: 39.97 kB / 0.7629 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.5233, allocations: 7.984 kB / 0.7629 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.5234, allocations: 4 kB / 0.7629 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.5234, allocations: 79.28 kB / 0.763 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.5234, allocations: 0 / 0.763 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002516/0.5237, allocations: 19.98 kB / 0.763 GB, free: 15.45 MB / 0.5417 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 (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.001564/0.5252, allocations: 0.8412 MB / 0.7638 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.5264, allocations: 175.9 kB / 0.764 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5264, allocations: 0 / 0.764 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.527, allocations: 92.06 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.5271, allocations: 0 / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.5284, allocations: 248.3 kB / 0.7643 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.5286, allocations: 0.6848 MB / 0.765 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002201/0.5288, allocations: 28 kB / 0.765 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.5289, allocations: 11.42 kB / 0.765 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of SimCode: time 9.32e-07/0.5289, allocations: 7.938 kB / 0.765 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.5399, allocations: 1.394 MB / 0.7664 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.54, allocations: 197.3 kB / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.058, allocations: 0 / 0.7666 GB, free: 11.77 MB / 0.5417 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/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)