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.821/2.821, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001411/0.001411, allocations: 184.5 kB / 371 MB, free: 10.87 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.19/2.19, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001059/0.001059, allocations: 90.34 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006413/0.0006416, allocations: 14.53 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2243, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.000794/0.2252, allocations: 331.6 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004114/0.2256, allocations: 147.7 kB / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.2256, allocations: 0 / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.004e-05/0.2257, allocations: 0 / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.513e-05/0.2257, allocations: 0 / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.226, allocations: 27.91 kB / 0.979 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.753e-05/0.2261, allocations: 15.98 kB / 0.979 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.2261, allocations: 4 kB / 0.979 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.985e-05/0.2261, allocations: 11.98 kB / 0.979 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.2262, allocations: 7.922 kB / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.2262, allocations: 4 kB / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.549e-05/0.2263, allocations: 27.97 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.2264, allocations: 4 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.2264, allocations: 29.64 kB / 0.9791 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.1e-05/0.2265, allocations: 23.95 kB / 0.9791 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2265, allocations: 4 kB / 0.9791 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2265, allocations: 4 kB / 0.9791 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2265, allocations: 0 / 0.9791 GB, free: 27.61 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.0003178/0.2268, allocations: 319.4 kB / 0.9794 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2269, allocations: 8.031 kB / 0.9794 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.2269, allocations: 30.56 kB / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.227, allocations: 11.91 kB / 0.9794 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.798e-05/0.2271, allocations: 175.2 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.2271, allocations: 3.938 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.2271, allocations: 7.984 kB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.2272, allocations: 45.69 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2273, allocations: 0 / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2273, allocations: 0 / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2273, allocations: 0 / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.538e-05/0.2274, allocations: 15.98 kB / 0.9797 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.2275, allocations: 153.6 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.2277, allocations: 54.55 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.2277, allocations: 20.98 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.622e-05/0.2278, allocations: 81.11 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.2279, allocations: 34.56 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.654e-06/0.2279, allocations: 0 / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001574/0.2294, allocations: 492.3 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.2295, allocations: 55.34 kB / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.525e-05/0.2296, allocations: 97.86 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2296, allocations: 25.7 kB / 0.9806 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.767e-05/0.2296, allocations: 80.14 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.2297, allocations: 27.64 kB / 0.9807 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.2297, allocations: 0 / 0.9807 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.2297, allocations: 318.8 kB / 0.9811 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/0.2298, allocations: 15.98 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.535e-05/0.2298, allocations: 11.94 kB / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.062e-05/0.2299, allocations: 20.22 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2299, allocations: 4.125 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000146/0.2301, allocations: 65.59 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2301, allocations: 4 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2301, allocations: 0 / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2301, allocations: 4 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.2303, allocations: 15.92 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2303, allocations: 0 / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.776e-05/0.2303, allocations: 8 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.2304, allocations: 0 / 0.9812 GB, free: 25.14 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.199e-05/0.2304, allocations: 121.8 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.2305, allocations: 0 / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.2307, allocations: 85.61 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2307, allocations: 3.938 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2307, allocations: 0 / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2307, allocations: 0 / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.2309, allocations: 165.6 kB / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.2309, allocations: 0 / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.231, allocations: 15.98 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.231, allocations: 4 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.231, allocations: 0 / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2311, allocations: 4 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2311, allocations: 0 / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.2313, allocations: 129 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.2313, allocations: 81.09 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.2314, allocations: 4 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/0.2315, allocations: 4.031 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.2315, allocations: 16.05 kB / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.2315, allocations: 0 / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.585e-05/0.2315, allocations: 75.28 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2316, allocations: 0 / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003053/0.2319, allocations: 24 kB / 0.9819 GB, free: 24.32 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.0005627/0.2324, allocations: 0.6905 MB / 0.9826 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.2326, allocations: 39.92 kB / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2326, allocations: 0 / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.147e-05/0.2327, allocations: 27.92 kB / 0.9826 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.2329, allocations: 0 / 0.9826 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007203/0.2336, allocations: 412.8 kB / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.2338, allocations: 0.6809 MB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.992e-05/0.2339, allocations: 8.172 kB / 0.9837 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.2339, allocations: 15.44 kB / 0.9837 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.2339, allocations: 0 / 0.9837 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.26, allocations: 1.599 MB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/0.2603, allocations: 220.1 kB / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/2.819, allocations: 4.062 kB / 0.9855 GB, free: 20.69 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)