Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.845/1.845, allocations: 289.7 MB / 302.2 MB, free: 2.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001349/0.00135, allocations: 184.6 kB / 371.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.2 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009908/0.0009905, allocations: 87.02 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.882e-05/4.895e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3028, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8773/1.18, allocations: 138.8 MB / 1.115 GB, free: 44.82 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/1.18, allocations: 78.16 kB / 1.116 GB, free: 44.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00203/1.182, allocations: 0.841 MB / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.054e-06/1.182, allocations: 0 / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.089e-05/1.182, allocations: 0.5938 kB / 1.116 GB, free: 44.19 MB / 0.7448 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.0001745/1.183, allocations: 319.9 kB / 1.117 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.183, allocations: 8.531 kB / 1.117 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/1.183, allocations: 34.03 kB / 1.117 GB, free: 43.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.125e-05/1.183, allocations: 2.219 kB / 1.117 GB, free: 43.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.146e-05/1.183, allocations: 160 kB / 1.117 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/1.183, allocations: 8.484 kB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/1.183, allocations: 4.281 kB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.404e-05/1.183, allocations: 32.7 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.183, allocations: 1 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/1.183, allocations: 0.5625 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.183, allocations: 0.625 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.288e-05/1.183, allocations: 15.41 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001043/1.183, allocations: 151.7 kB / 1.117 GB, free: 43.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/1.183, allocations: 34.7 kB / 1.117 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/1.183, allocations: 17.16 kB / 1.117 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/1.183, allocations: 84.48 kB / 1.117 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/1.183, allocations: 31.77 kB / 1.117 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/1.183, allocations: 0.5312 kB / 1.117 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.002368/1.186, allocations: 357.5 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/1.186, allocations: 55.34 kB / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.337e-05/1.186, allocations: 85 kB / 1.118 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/1.186, allocations: 25.7 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.039e-05/1.186, allocations: 80.14 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/1.186, allocations: 16.59 kB / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/1.186, allocations: 2.5 kB / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.236e-05/1.186, allocations: 313.6 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/1.186, allocations: 14.31 kB / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.656e-05/1.186, allocations: 26.45 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/1.186, allocations: 12 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.186, allocations: 7.75 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001351/1.186, allocations: 60.98 kB / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.186, allocations: 4 kB / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/1.186, allocations: 0 / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/1.186, allocations: 4 kB / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/1.187, allocations: 51.64 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/1.187, allocations: 0.6562 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/1.187, allocations: 42.83 kB / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/1.187, allocations: 7.422 kB / 1.118 GB, free: 42.1 MB / 0.7448 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 () * 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 4.76e-05/1.187, allocations: 104.9 kB / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/1.187, allocations: 3.953 kB / 1.118 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/1.187, allocations: 88.19 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/1.187, allocations: 1.781 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.187, allocations: 4.844 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/1.187, allocations: 0 / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/1.188, allocations: 310.1 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.188, allocations: 3.719 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/1.188, allocations: 50.89 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.188, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/1.188, allocations: 3.375 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.188, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.188, allocations: 4 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/1.188, allocations: 159.2 kB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/1.188, allocations: 81.11 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/1.188, allocations: 0 / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/1.189, allocations: 38.8 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/1.189, allocations: 7.25 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/1.189, allocations: 0 / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.133e-05/1.189, allocations: 75.28 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/1.189, allocations: 0 / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002448/1.189, allocations: 23.41 kB / 1.119 GB, free: 41.16 MB / 0.7448 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 () * 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.0003331/1.189, allocations: 0.6983 MB / 1.12 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001225/1.189, allocations: 27.88 kB / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.19, allocations: 0 / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.778e-05/1.19, allocations: 19.22 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/1.19, allocations: 11.19 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/1.19, allocations: 128.6 kB / 1.12 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/1.19, allocations: 0.6765 MB / 1.121 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002078/1.191, allocations: 24 kB / 1.121 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/1.191, allocations: 19.2 kB / 1.121 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.191, allocations: 4 kB / 1.121 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/1.226, allocations: 1.43 MB / 1.122 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/1.227, allocations: 170.4 kB / 1.122 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.437/2.663, allocations: 0 / 1.122 GB, free: 38.57 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)