Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.498/1.498, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002112/0.002112, allocations: 176.3 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 82.42 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 9.062 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2576, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001598/0.2592, allocations: 1.156 MB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003516/0.2596, allocations: 180.5 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.2596, allocations: 3.938 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.2597, allocations: 3.938 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.2598, allocations: 0 / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.26, allocations: 27.89 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.112e-05/0.2601, allocations: 11.98 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.55e-05/0.2602, allocations: 8 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/0.2602, allocations: 15.92 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.2603, allocations: 8 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2603, allocations: 3.938 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.227e-05/0.2604, allocations: 27.95 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.2604, allocations: 0 / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.2604, allocations: 33.7 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.268e-05/0.2605, allocations: 23.94 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2605, allocations: 0 / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2605, allocations: 0 / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.2605, allocations: 0 / 0.9016 GB, free: 62.3 MB / 0.6042 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.0004028/0.2609, allocations: 348.1 kB / 0.9019 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.261, allocations: 12.03 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.261, allocations: 30.56 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.2611, allocations: 3.906 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.978e-05/0.2612, allocations: 171.2 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2612, allocations: 4 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.2612, allocations: 3.938 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.2614, allocations: 57.67 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2614, allocations: 3.938 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2614, allocations: 0 / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2614, allocations: 4 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.2616, allocations: 47.95 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.2619, allocations: 244.9 kB / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.262, allocations: 46.53 kB / 0.9025 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.899e-05/0.2621, allocations: 85.17 kB / 0.9026 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.2621, allocations: 30.56 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2621, allocations: 0 / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003298/0.2625, allocations: 101.7 kB / 0.9028 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.2625, allocations: 51.41 kB / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.163e-05/0.2626, allocations: 101.8 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.2626, allocations: 25.7 kB / 0.9029 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.2626, allocations: 88.14 kB / 0.903 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.2626, allocations: 7.844 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.2626, allocations: 0 / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.2627, allocations: 318.8 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-05/0.2628, allocations: 27.97 kB / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.836e-05/0.2629, allocations: 19.92 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.713e-05/0.263, allocations: 28.05 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.263, allocations: 0 / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001709/0.2631, allocations: 77.56 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2632, allocations: 8 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2632, allocations: 4.031 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2632, allocations: 0 / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.2633, allocations: 11.98 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2633, allocations: 0 / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.2634, allocations: 8 kB / 0.9035 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.2634, allocations: 0 / 0.9035 GB, free: 60.13 MB / 0.6042 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 5.723e-05/0.2634, allocations: 121.7 kB / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.2635, allocations: 8 kB / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.2637, allocations: 80.77 kB / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2637, allocations: 0 / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2637, allocations: 256 / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2637, allocations: 4.016 kB / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.2639, allocations: 177.5 kB / 0.9039 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2639, allocations: 0 / 0.9039 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/0.2639, allocations: 8 kB / 0.9039 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2639, allocations: 4 kB / 0.9039 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.264, allocations: 0 / 0.9039 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.264, allocations: 0 / 0.9039 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.264, allocations: 3.984 kB / 0.9039 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.2642, allocations: 171.4 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.2642, allocations: 93 kB / 0.9041 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.2642, allocations: 0 / 0.9041 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.2643, allocations: 8.031 kB / 0.9041 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.2643, allocations: 7.984 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.2644, allocations: 0 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.676e-05/0.2644, allocations: 79.28 kB / 0.9042 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2644, allocations: 0 / 0.9042 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002143/0.2646, allocations: 12 kB / 0.9042 GB, free: 59.27 MB / 0.6042 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.0004495/0.2651, allocations: 0.7202 MB / 0.9049 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.2653, allocations: 48 kB / 0.905 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2653, allocations: 0 / 0.905 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.835e-05/0.2654, allocations: 19.98 kB / 0.905 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.2656, allocations: 11.98 kB / 0.905 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.266, allocations: 146.4 kB / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.2661, allocations: 0.6809 MB / 0.9058 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.2661, allocations: 3.938 kB / 0.9058 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.2662, allocations: 11.38 kB / 0.9058 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2662, allocations: 4 kB / 0.9058 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.2791, allocations: 1.17 MB / 0.907 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.2793, allocations: 194.3 kB / 0.9072 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/1.813, allocations: 2.875 kB / 0.9072 GB, free: 56.27 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)