Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.804/1.804, allocations: 289.7 MB / 302.2 MB, free: 2.203 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.001141/0.001141, allocations: 180.6 kB / 371.6 MB, free: 3.352 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.713/1.713, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009968/0.0009968, allocations: 92.34 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.689e-05/4.702e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2533, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7579/1.011, allocations: 138.9 MB / 1.116 GB, free: 44.66 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/1.012, allocations: 73.48 kB / 1.116 GB, free: 44.63 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00342/1.015, allocations: 1.335 MB / 1.117 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.585e-06/1.015, allocations: 0.6562 kB / 1.117 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.496e-06/1.015, allocations: 4.781 kB / 1.117 GB, free: 43.77 MB / 0.7448 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.0003119/1.015, allocations: 347.7 kB / 1.117 GB, free: 43.4 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.015, allocations: 8.719 kB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/1.015, allocations: 34.5 kB / 1.117 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/1.015, allocations: 9.062 kB / 1.117 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.218e-05/1.016, allocations: 170.4 kB / 1.117 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/1.016, allocations: 7.266 kB / 1.117 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/1.016, allocations: 3.938 kB / 1.118 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.047e-05/1.016, allocations: 34.14 kB / 1.118 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/1.016, allocations: 3.375 kB / 1.118 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/1.016, allocations: 0 / 1.118 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.016, allocations: 6.844 kB / 1.118 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.075e-05/1.016, allocations: 8.469 kB / 1.118 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/1.016, allocations: 271 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.118e-05/1.016, allocations: 29.17 kB / 1.118 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/1.016, allocations: 14.52 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.589e-05/1.016, allocations: 84.58 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/1.016, allocations: 35.27 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/1.016, allocations: 0 / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001501/1.016, allocations: 41.52 kB / 1.118 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/1.016, allocations: 51.41 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/1.017, allocations: 101.1 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/1.017, allocations: 25.7 kB / 1.118 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/1.017, allocations: 84.02 kB / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/1.017, allocations: 8.688 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/1.017, allocations: 4.031 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.047e-05/1.017, allocations: 314.8 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/1.017, allocations: 7.938 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.238e-05/1.017, allocations: 4 kB / 1.119 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.748e-05/1.017, allocations: 7.406 kB / 1.119 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.017, allocations: 1.125 kB / 1.119 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.751e-05/1.017, allocations: 41.64 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/1.017, allocations: 4 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/1.017, allocations: 4.094 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.017, allocations: 7.938 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/1.017, allocations: 11.38 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.017, allocations: 2.953 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/1.017, allocations: 7.422 kB / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/1.017, allocations: 4.562 kB / 1.119 GB, free: 41.9 MB / 0.7448 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 () * 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 4.458e-05/1.017, allocations: 104.9 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/1.017, allocations: 7.906 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.878e-05/1.017, allocations: 52.44 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/1.017, allocations: 0.75 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.017, allocations: 3.469 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/1.017, allocations: 0 / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/1.017, allocations: 157.8 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.017, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/1.018, allocations: 19.45 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/1.018, allocations: 4.734 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/1.018, allocations: 0 / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.018, allocations: 2.188 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.018, allocations: 3.422 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.412e-05/1.018, allocations: 139 kB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/1.018, allocations: 77.11 kB / 1.119 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/1.018, allocations: 3.516 kB / 1.119 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/1.018, allocations: 12.03 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/1.018, allocations: 3.469 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/1.018, allocations: 0 / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.273e-05/1.018, allocations: 83.91 kB / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.018, allocations: 0 / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002289/1.018, allocations: 19.78 kB / 1.119 GB, free: 41.17 MB / 0.7448 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 () * 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.000317/1.018, allocations: 0.6941 MB / 1.12 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.357e-05/1.019, allocations: 16.69 kB / 1.12 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.019, allocations: 3.828 kB / 1.12 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.005e-05/1.019, allocations: 7.938 kB / 1.12 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/1.019, allocations: 3.938 kB / 1.12 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/1.019, allocations: 100.9 kB / 1.12 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/1.019, allocations: 0.68 MB / 1.121 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.375e-05/1.019, allocations: 4.656 kB / 1.121 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/1.019, allocations: 7.438 kB / 1.121 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.019, allocations: 0 / 1.121 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01056/1.03, allocations: 1.137 MB / 1.122 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001272/1.03, allocations: 162.6 kB / 1.122 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.65, allocations: 0 / 1.122 GB, free: 38.79 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)