Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 1.676/1.676, allocations: 287.4 MB / 302.6 MB, free: 8.23 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.00105/0.001049, allocations: 176.8 kB / 371.1 MB, free: 10.81 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.676/1.676, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008743/0.0008746, allocations: 99.41 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003887, allocations: 16.19 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2338, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006913/0.2345, allocations: 331.6 kB / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2358, allocations: 1.109 MB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.2358, allocations: 0 / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.2359, allocations: 0 / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.2361, allocations: 15.92 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.2361, allocations: 0 / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.114e-05/0.2362, allocations: 11.98 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.2362, allocations: 4 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.607e-05/0.2363, allocations: 0 / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.814e-05/0.2363, allocations: 3.938 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.2363, allocations: 0 / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-05/0.2364, allocations: 19.97 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.039e-06/0.2364, allocations: 4 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.305e-05/0.2365, allocations: 25.7 kB / 0.9802 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.176e-05/0.2365, allocations: 11.98 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2365, allocations: 0 / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2365, allocations: 0 / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2365, allocations: 0 / 0.9802 GB, free: 26.54 MB / 0.6198 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.0002212/0.2368, allocations: 321.4 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.2368, allocations: 8.031 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.2369, allocations: 34.75 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.2369, allocations: 0.9375 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.917e-05/0.237, allocations: 164.4 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.237, allocations: 4.312 kB / 0.9808 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.237, allocations: 384 / 0.9808 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.2371, allocations: 37.81 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2372, allocations: 0 / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.2372, allocations: 8 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2372, allocations: 3.984 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.107e-05/0.2372, allocations: 11.92 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.2374, allocations: 157.8 kB / 0.981 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.2376, allocations: 30.61 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.2376, allocations: 16.8 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.2377, allocations: 85.19 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2378, allocations: 38.5 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2378, allocations: 0 / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.003839/0.2416, allocations: 0.5638 MB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.2417, allocations: 51.41 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.55e-05/0.2417, allocations: 89.86 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2417, allocations: 25.7 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.159e-05/0.2417, allocations: 80.14 kB / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.2418, allocations: 15.81 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.2418, allocations: 7.938 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.2419, allocations: 314.8 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/0.2424, allocations: 83.95 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/0.2429, allocations: 98.53 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.2439, allocations: 190.5 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2439, allocations: 0 / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001084/0.245, allocations: 213.5 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2451, allocations: 11.94 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2451, allocations: 0 / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2451, allocations: 0 / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.2455, allocations: 52 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.2455, allocations: 192 / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.2458, allocations: 47.98 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.2458, allocations: 0 / 0.9829 GB, free: 23.55 MB / 0.6198 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 6.835e-05/0.2459, allocations: 117.8 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.2459, allocations: 7.844 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.2471, allocations: 237 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2471, allocations: 3.938 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2471, allocations: 4 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2471, allocations: 0 / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.2485, allocations: 458.4 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2485, allocations: 0 / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.2488, allocations: 51.91 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2489, allocations: 0 / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.2489, allocations: 0 / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2489, allocations: 4 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2489, allocations: 0 / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.25, allocations: 303.4 kB / 0.984 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.25, allocations: 77.11 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.25, allocations: 11.98 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.2504, allocations: 35.98 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.2504, allocations: 4 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.2504, allocations: 3.938 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.595e-05/0.2504, allocations: 75.28 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2504, allocations: 0 / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002326/0.2507, allocations: 19.98 kB / 0.9843 GB, free: 22.07 MB / 0.6198 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.001306/0.252, allocations: 0.853 MB / 0.9851 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.2531, allocations: 179.9 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2531, allocations: 0 / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.2536, allocations: 96.06 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.2538, allocations: 0 / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.2549, allocations: 248.3 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.695e-05/0.255, allocations: 0.6774 MB / 0.9862 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002274/0.2552, allocations: 28.25 kB / 0.9863 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.2553, allocations: 11.44 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.2553, allocations: 0 / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.2667, allocations: 1.434 MB / 0.9877 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/0.2669, allocations: 203.6 kB / 0.9879 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.737, allocations: 2.125 kB / 0.9879 GB, free: 18.4 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)