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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 84.38 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.001017/0.001017, 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 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.91/1.91, allocations: 292.7 MB / 0.5499 GB, free: 14.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005796/0.0005803, allocations: 23.19 kB / 0.6739 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2564, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007682/0.2572, allocations: 331.5 kB / 0.7877 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2586, allocations: 1.114 MB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.2586, allocations: 4 kB / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.008e-05/0.2586, allocations: 0 / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.2588, allocations: 19.92 kB / 0.7888 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.294e-06/0.2588, allocations: 0 / 0.7888 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.302e-05/0.2589, allocations: 3.938 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.2589, allocations: 11.98 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.203e-05/0.259, allocations: 0 / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.203e-05/0.259, allocations: 0 / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.933e-06/0.259, allocations: 0 / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.884e-05/0.2591, allocations: 19.92 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.009e-06/0.2591, allocations: 3.984 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.2592, allocations: 33.7 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.076e-05/0.2592, allocations: 7.984 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2592, allocations: 0 / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2592, allocations: 0 / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.2592, allocations: 0 / 0.7889 GB, free: 10.25 MB / 0.6075 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.0002586/0.2595, allocations: 311.4 kB / 0.7892 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2595, allocations: 8.031 kB / 0.7892 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.2596, allocations: 30.56 kB / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.224e-05/0.2596, allocations: 4 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.2597, allocations: 171 kB / 0.7894 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2597, allocations: 8 kB / 0.7894 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.2598, allocations: 3.906 kB / 0.7894 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.136e-05/0.2599, allocations: 33.69 kB / 0.7895 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2599, allocations: 0 / 0.7895 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.2599, allocations: 4 kB / 0.7895 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.2599, allocations: 0 / 0.7895 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.139e-05/0.2599, allocations: 4 kB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.2601, allocations: 161.9 kB / 0.7896 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.2602, allocations: 34.52 kB / 0.7897 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.2603, allocations: 16.94 kB / 0.7897 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.2605, allocations: 77.11 kB / 0.7898 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.2605, allocations: 34.56 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.2605, allocations: 3.938 kB / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.003705/0.2642, allocations: 0.5638 MB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.2643, allocations: 51.41 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.466e-05/0.2643, allocations: 93.86 kB / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.2644, allocations: 25.7 kB / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.2644, allocations: 80.14 kB / 0.7906 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.048e-05/0.2645, allocations: 19.8 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.2645, allocations: 0 / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2646, allocations: 314.8 kB / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004873/0.2651, allocations: 87.95 kB / 0.791 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.2656, allocations: 98.53 kB / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.2661, allocations: 95.83 kB / 0.7912 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2661, allocations: 0 / 0.7912 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001039/0.2672, allocations: 213.9 kB / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2672, allocations: 4 kB / 0.7914 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2672, allocations: 4 kB / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2672, allocations: 0 / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.2676, allocations: 52 kB / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.2676, allocations: 4 kB / 0.7914 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.2679, allocations: 39.97 kB / 0.7915 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.2679, allocations: 4 kB / 0.7915 GB, free: 7.379 MB / 0.6075 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.000114/0.268, allocations: 109.8 kB / 0.7916 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.2681, allocations: 11.98 kB / 0.7916 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.2692, allocations: 237 kB / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2692, allocations: 0 / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2692, allocations: 0 / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2693, allocations: 4.234 kB / 0.7918 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.2706, allocations: 470.3 kB / 0.7923 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2706, allocations: 0 / 0.7923 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.2709, allocations: 51.97 kB / 0.7923 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2709, allocations: 0 / 0.7923 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.2709, allocations: 0 / 0.7923 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2709, allocations: 0 / 0.7923 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2709, allocations: 0 / 0.7923 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.272, allocations: 303.4 kB / 0.7926 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.272, allocations: 81.02 kB / 0.7927 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.2721, allocations: 11.94 kB / 0.7927 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.2724, allocations: 35.98 kB / 0.7927 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.2724, allocations: 7.984 kB / 0.7927 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2724, allocations: 7.938 kB / 0.7927 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.796e-05/0.2724, allocations: 75.31 kB / 0.7928 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2725, allocations: 0 / 0.7928 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002403/0.2727, allocations: 8 kB / 0.7928 GB, free: 5.883 MB / 0.6075 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.001569/0.2743, allocations: 0.8374 MB / 0.7936 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.2753, allocations: 183.9 kB / 0.7938 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2754, allocations: 0 / 0.7938 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.2758, allocations: 92.08 kB / 0.7939 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.2761, allocations: 0 / 0.7939 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.2771, allocations: 256.3 kB / 0.7942 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.2775, allocations: 0.677 MB / 0.7948 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002209/0.2777, allocations: 35.86 kB / 0.7948 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.2778, allocations: 11.44 kB / 0.7949 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.2778, allocations: 0 / 0.7949 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/0.29, allocations: 1.428 MB / 0.7963 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.2903, allocations: 219.2 kB / 0.7965 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.067, allocations: 4.062 kB / 0.7965 GB, free: 2.211 MB / 0.6075 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) Environment - environmentSimulation: