Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothExponential",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.773/2.773, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.001471/0.001471, allocations: 186.8 kB / 370.8 MB, free: 10.85 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.121/2.121, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001769/0.001769, allocations: 89.72 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.000519, allocations: 16.12 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.229, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001789/0.2309, allocations: 1.152 MB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004297/0.2314, allocations: 176.4 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.2314, allocations: 0 / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.2314, allocations: 0 / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.133e-05/0.2315, allocations: 11.97 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.2318, allocations: 19.98 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.714e-05/0.2318, allocations: 19.92 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.697e-05/0.2319, allocations: 11.92 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/0.232, allocations: 4 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.2321, allocations: 11.92 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.2321, allocations: 0 / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.028e-05/0.2322, allocations: 35.95 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.298e-06/0.2322, allocations: 0 / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.2323, allocations: 25.7 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.979e-05/0.2324, allocations: 27.95 kB / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2324, allocations: 0 / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.056e-06/0.2324, allocations: 4 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2324, allocations: 3.938 kB / 0.9797 GB, free: 26.77 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.0004452/0.2329, allocations: 349.6 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2329, allocations: 12.02 kB / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.2329, allocations: 30.56 kB / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.233, allocations: 4 kB / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.069e-05/0.2331, allocations: 171 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2331, allocations: 4 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.2331, allocations: 4 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.2334, allocations: 53.67 kB / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2334, allocations: 0 / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2334, allocations: 0 / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2334, allocations: 0 / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.2337, allocations: 43.97 kB / 0.9804 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.234, allocations: 264.8 kB / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.2342, allocations: 46.56 kB / 0.9807 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.608e-05/0.2343, allocations: 81.09 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.2344, allocations: 34.62 kB / 0.9808 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.2344, allocations: 0 / 0.9808 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005199/0.2349, allocations: 97.59 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.2349, allocations: 55.39 kB / 0.9809 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.62e-05/0.235, allocations: 101.9 kB / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.235, allocations: 25.7 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.2351, allocations: 80.14 kB / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.2351, allocations: 19.95 kB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.2351, allocations: 4 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.03e-05/0.2352, allocations: 314.8 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.2353, allocations: 15.98 kB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.2355, allocations: 23.98 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.2356, allocations: 32.03 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2356, allocations: 0 / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003267/0.236, allocations: 73.67 kB / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.236, allocations: 5.875 kB / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.236, allocations: 3.938 kB / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.2361, allocations: 0 / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.2362, allocations: 23.86 kB / 0.9816 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2362, allocations: 0 / 0.9816 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.872e-05/0.2363, allocations: 7.984 kB / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.2363, allocations: 0 / 0.9816 GB, free: 24.59 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 (2): * Single equations (assignments): 2 * 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.667e-05/0.2364, allocations: 117.8 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.2364, allocations: 0 / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.2368, allocations: 84.69 kB / 0.9818 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2368, allocations: 8.016 kB / 0.9818 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2368, allocations: 0 / 0.9818 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2369, allocations: 4 kB / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.237, allocations: 161.6 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.237, allocations: 256 / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.721e-05/0.2371, allocations: 15.98 kB / 0.982 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2372, allocations: 3.938 kB / 0.982 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.2372, allocations: 0 / 0.982 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2372, allocations: 0 / 0.982 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.2372, allocations: 0 / 0.982 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.2375, allocations: 179.5 kB / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.2376, allocations: 77.11 kB / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2376, allocations: 0 / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2377, allocations: 16.02 kB / 0.9823 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.2378, allocations: 4 kB / 0.9823 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2378, allocations: 0 / 0.9823 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.298e-05/0.2379, allocations: 83.27 kB / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2379, allocations: 0 / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002991/0.2382, allocations: 12 kB / 0.9824 GB, free: 23.74 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 (2): * Single equations (assignments): 2 * 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.0005882/0.2388, allocations: 0.7163 MB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.2391, allocations: 51.98 kB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2391, allocations: 4 kB / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.2393, allocations: 19.98 kB / 0.9831 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.2395, allocations: 4.125 kB / 0.9831 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.24, allocations: 154.1 kB / 0.9833 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.2402, allocations: 0.677 MB / 0.984 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.494e-05/0.2402, allocations: 4 kB / 0.984 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.2403, allocations: 11.38 kB / 0.984 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of SimCode: time 1.162e-06/0.2403, allocations: 0 / 0.984 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.2586, allocations: 1.169 MB / 0.9851 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/0.2589, allocations: 181.1 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.601, allocations: 0 / 0.9853 GB, free: 20.73 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)