Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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 2.553/2.553, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001546/0.001546, allocations: 186.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.158/2.158, allocations: 205.4 MB / 0.6295 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.001166/0.001165, allocations: 90.91 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004909, allocations: 14.91 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2186, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007682/0.2195, allocations: 345.7 kB / 0.9786 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003744/0.2199, allocations: 149.4 kB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.2199, allocations: 3.938 kB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.109e-05/0.2199, allocations: 0 / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.379e-05/0.22, allocations: 0 / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.2202, allocations: 23.97 kB / 0.9788 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.535e-05/0.2203, allocations: 7.938 kB / 0.9788 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.2204, allocations: 7.984 kB / 0.9788 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.813e-05/0.2204, allocations: 4 kB / 0.9788 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.144e-05/0.2205, allocations: 8 kB / 0.9788 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.2205, allocations: 3.984 kB / 0.9788 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.255e-05/0.2206, allocations: 27.97 kB / 0.9788 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.2206, allocations: 11.92 kB / 0.9789 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.2206, allocations: 25.7 kB / 0.9789 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.07e-05/0.2207, allocations: 23.86 kB / 0.9789 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.2207, allocations: 0 / 0.9789 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2207, allocations: 0 / 0.9789 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2207, allocations: 0 / 0.9789 GB, free: 27.62 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003253/0.2211, allocations: 327.4 kB / 0.9792 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2211, allocations: 8.031 kB / 0.9792 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.2212, allocations: 38.55 kB / 0.9793 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.2212, allocations: 3.906 kB / 0.9793 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.197e-05/0.2213, allocations: 167.2 kB / 0.9794 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2213, allocations: 8 kB / 0.9794 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.2214, allocations: 0 / 0.9794 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2215, allocations: 45.62 kB / 0.9795 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2215, allocations: 0 / 0.9795 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.2215, allocations: 4 kB / 0.9795 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2215, allocations: 0 / 0.9795 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.65e-05/0.2216, allocations: 15.98 kB / 0.9795 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.2218, allocations: 165.6 kB / 0.9797 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.2219, allocations: 42.62 kB / 0.9797 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-05/0.222, allocations: 81.11 kB / 0.9798 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.222, allocations: 42.48 kB / 0.9798 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.222, allocations: 0 / 0.9798 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001659/0.2237, allocations: 484.4 kB / 0.9803 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.2238, allocations: 51.41 kB / 0.9803 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.2239, allocations: 93.86 kB / 0.9804 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.2239, allocations: 29.7 kB / 0.9804 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.103e-05/0.2239, allocations: 80.14 kB / 0.9805 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.224, allocations: 31.77 kB / 0.9805 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.224, allocations: 0 / 0.9805 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.224, allocations: 314.8 kB / 0.9808 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.2241, allocations: 19.97 kB / 0.9809 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.2241, allocations: 12 kB / 0.9809 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.2242, allocations: 12 kB / 0.9809 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2242, allocations: 3.938 kB / 0.9809 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001499/0.2244, allocations: 73.53 kB / 0.981 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2244, allocations: 5.562 kB / 0.981 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2244, allocations: 0 / 0.981 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2245, allocations: 8 kB / 0.981 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.2246, allocations: 11.98 kB / 0.981 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.2246, allocations: 4 kB / 0.981 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.2247, allocations: 0 / 0.981 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.2247, allocations: 0 / 0.981 GB, free: 25.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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 7.268e-05/0.2248, allocations: 121.7 kB / 0.9811 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.2248, allocations: 0 / 0.9811 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.225, allocations: 89.62 kB / 0.9812 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.225, allocations: 0 / 0.9812 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.225, allocations: 0 / 0.9812 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2251, allocations: 0 / 0.9812 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.2252, allocations: 169.5 kB / 0.9814 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2252, allocations: 256 / 0.9814 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.2253, allocations: 19.98 kB / 0.9814 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2254, allocations: 4 kB / 0.9814 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2254, allocations: 4 kB / 0.9814 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2254, allocations: 0 / 0.9814 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2254, allocations: 4.328 kB / 0.9814 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.2256, allocations: 117 kB / 0.9815 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.2257, allocations: 81.06 kB / 0.9816 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.2257, allocations: 8.031 kB / 0.9816 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.517e-05/0.2258, allocations: 0 / 0.9816 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.2258, allocations: 7.984 kB / 0.9816 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.2258, allocations: 0 / 0.9816 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.373e-05/0.2259, allocations: 75.28 kB / 0.9817 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2259, allocations: 8.156 kB / 0.9817 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000294/0.2262, allocations: 32 kB / 0.9817 GB, free: 24.35 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0005629/0.2268, allocations: 0.6787 MB / 0.9824 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.2269, allocations: 43.91 kB / 0.9824 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2269, allocations: 64 / 0.9824 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.664e-05/0.227, allocations: 27.98 kB / 0.9824 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.2272, allocations: 3.938 kB / 0.9824 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/0.2279, allocations: 422.8 kB / 0.9828 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.228, allocations: 0.6848 MB / 0.9835 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.823e-05/0.2281, allocations: 8.25 kB / 0.9835 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.2281, allocations: 15.42 kB / 0.9835 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of SimCode: time 1.001e-06/0.2281, allocations: 0 / 0.9835 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.2519, allocations: 1.577 MB / 0.9851 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.2522, allocations: 215.9 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/2.662, allocations: 2.5 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)