Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.853/1.853, allocations: 292.6 MB / 307.5 MB, free: 5.234 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.001093/0.001093, allocations: 193 kB / 377.1 MB, free: 1.551 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.81/1.81, allocations: 205.4 MB / 0.6366 GB, free: 9.527 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.001285/0.001285, allocations: 94.62 kB / 0.7509 GB, free: 62.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004758, allocations: 12 kB / 0.8749 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3164, allocations: 116.3 MB / 0.9884 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8235/1.14, allocations: 138.5 MB / 1.124 GB, free: 36.1 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.14, allocations: 75.86 kB / 1.124 GB, free: 36.04 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005058/1.145, allocations: 2.029 MB / 1.126 GB, free: 34.51 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.084e-06/1.145, allocations: 0.6875 kB / 1.126 GB, free: 34.51 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.162e-06/1.145, allocations: 0 / 1.126 GB, free: 34.51 MB / 0.7292 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.0002853/1.146, allocations: 344.5 kB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.146, allocations: 8.031 kB / 1.126 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/1.146, allocations: 31.47 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/1.146, allocations: 7.344 kB / 1.126 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.858e-05/1.146, allocations: 167.2 kB / 1.126 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/1.146, allocations: 5.734 kB / 1.126 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/1.146, allocations: 9.109 kB / 1.126 GB, free: 33.87 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/1.146, allocations: 44.06 kB / 1.126 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.146, allocations: 0 / 1.126 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/1.146, allocations: 0 / 1.126 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.146, allocations: 1.719 kB / 1.126 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.899e-05/1.146, allocations: 16.69 kB / 1.126 GB, free: 33.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/1.146, allocations: 164.6 kB / 1.127 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.076e-05/1.146, allocations: 51.08 kB / 1.127 GB, free: 33.56 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-05/1.147, allocations: 80.53 kB / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/1.147, allocations: 38.69 kB / 1.127 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/1.147, allocations: 0 / 1.127 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.001154/1.148, allocations: 476.8 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/1.148, allocations: 51.41 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.628e-05/1.148, allocations: 93 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/1.148, allocations: 26.27 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/1.148, allocations: 83.52 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/1.148, allocations: 23.66 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/1.148, allocations: 0 / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.342e-05/1.148, allocations: 322.4 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/1.148, allocations: 11.94 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.076e-05/1.148, allocations: 16.45 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/1.148, allocations: 15.94 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.148, allocations: 3.953 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.194e-05/1.148, allocations: 73.69 kB / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.148, allocations: 4 kB / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.148, allocations: 0 / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.148, allocations: 4.562 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/1.148, allocations: 11.47 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.148, allocations: 8.703 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/1.148, allocations: 4.625 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/1.148, allocations: 0 / 1.128 GB, free: 32.16 MB / 0.7292 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 6.304e-05/1.149, allocations: 114.6 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/1.149, allocations: 3.953 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/1.149, allocations: 84.7 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.149, allocations: 0.6562 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.149, allocations: 4 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.149, allocations: 0.625 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.745e-05/1.149, allocations: 168.7 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.149, allocations: 0 / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.038e-05/1.149, allocations: 19.89 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/1.149, allocations: 1.438 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.149, allocations: 0 / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.149, allocations: 4 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.149, allocations: 4.266 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/1.149, allocations: 117.7 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/1.149, allocations: 77.11 kB / 1.128 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/1.149, allocations: 7.984 kB / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/1.149, allocations: 0 / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/1.149, allocations: 8.641 kB / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/1.149, allocations: 4.938 kB / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.248e-05/1.149, allocations: 79.22 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.1e-08/1.149, allocations: 0 / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002153/1.15, allocations: 43.61 kB / 1.129 GB, free: 31.38 MB / 0.7292 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.0004489/1.15, allocations: 0.6938 MB / 1.129 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.545e-05/1.15, allocations: 35.69 kB / 1.129 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.15, allocations: 0 / 1.129 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/1.15, allocations: 20.27 kB / 1.129 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/1.15, allocations: 17.41 kB / 1.129 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/1.151, allocations: 433.8 kB / 1.13 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/1.151, allocations: 0.6831 MB / 1.13 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.059e-05/1.151, allocations: 10.12 kB / 1.13 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/1.151, allocations: 18.91 kB / 1.13 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of SimCode: time 3.61e-07/1.151, allocations: 0 / 1.13 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/1.167, allocations: 1.468 MB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/1.168, allocations: 213.6 kB / 1.132 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/2.776, allocations: 0 / 1.132 GB, free: 28.41 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)