Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7366/0.7366, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001076, allocations: 176.8 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.1 MB / 404.5 MB, free: 1.598 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008979/0.0008979, allocations: 86.41 kB / 481.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.916e-05/3.92e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1544, allocations: 76.76 MB / 0.6283 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5508/0.7052, allocations: 102.1 MB / 0.7279 GB, free: 11.29 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.7056, allocations: 79.02 kB / 0.728 GB, free: 11.25 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005787/0.7114, allocations: 2.171 MB / 0.7301 GB, free: 9.406 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7114, allocations: 0 / 0.7301 GB, free: 9.406 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.7114, allocations: 0 / 0.7301 GB, free: 9.406 MB / 490.7 MB 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.000284/0.7117, allocations: 337.5 kB / 0.7305 GB, free: 9.035 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.7118, allocations: 8.031 kB / 0.7305 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.7118, allocations: 42.48 kB / 0.7305 GB, free: 8.977 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.7118, allocations: 7.953 kB / 0.7305 GB, free: 8.969 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.712, allocations: 159.1 kB / 0.7307 GB, free: 8.773 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.712, allocations: 3.062 kB / 0.7307 GB, free: 8.773 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.712, allocations: 4 kB / 0.7307 GB, free: 8.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.7121, allocations: 43.38 kB / 0.7307 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7121, allocations: 0 / 0.7307 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.7122, allocations: 4 kB / 0.7307 GB, free: 8.723 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.7122, allocations: 0 / 0.7307 GB, free: 8.723 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.7122, allocations: 19.33 kB / 0.7307 GB, free: 8.707 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.7124, allocations: 161.6 kB / 0.7309 GB, free: 8.504 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.022e-05/0.7125, allocations: 41.81 kB / 0.7309 GB, free: 8.461 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.7125, allocations: 22.92 kB / 0.731 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.393e-05/0.7126, allocations: 81.09 kB / 0.731 GB, free: 8.344 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.7127, allocations: 42.5 kB / 0.7311 GB, free: 8.293 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.7127, allocations: 0 / 0.7311 GB, free: 8.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.001176/0.7139, allocations: 475.5 kB / 0.7315 GB, free: 7.781 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.7139, allocations: 51.41 kB / 0.7316 GB, free: 7.719 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.075e-05/0.714, allocations: 92.95 kB / 0.7317 GB, free: 7.621 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.714, allocations: 25.7 kB / 0.7317 GB, free: 7.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.714, allocations: 80.14 kB / 0.7318 GB, free: 7.508 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.7141, allocations: 31.64 kB / 0.7318 GB, free: 7.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.7141, allocations: 0 / 0.7318 GB, free: 7.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.7142, allocations: 314.1 kB / 0.7321 GB, free: 7.168 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.7142, allocations: 11.88 kB / 0.7321 GB, free: 7.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.7142, allocations: 11.94 kB / 0.7321 GB, free: 7.152 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.7143, allocations: 15.86 kB / 0.7321 GB, free: 7.141 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.7143, allocations: 0 / 0.7321 GB, free: 7.141 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001013/0.7144, allocations: 68.5 kB / 0.7322 GB, free: 7.074 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.7144, allocations: 4.625 kB / 0.7322 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7144, allocations: 4 kB / 0.7322 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.7144, allocations: 0 / 0.7322 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.128e-05/0.7145, allocations: 15.94 kB / 0.7322 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.7146, allocations: 3.984 kB / 0.7322 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.7146, allocations: 0 / 0.7322 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.7146, allocations: 11.95 kB / 0.7322 GB, free: 7.039 MB / 490.7 MB 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 (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 5.736e-05/0.7147, allocations: 101 kB / 0.7323 GB, free: 6.934 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.7147, allocations: 7.906 kB / 0.7323 GB, free: 6.926 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.7149, allocations: 94.36 kB / 0.7324 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.7149, allocations: 0 / 0.7324 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7149, allocations: 0 / 0.7324 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7149, allocations: 3.984 kB / 0.7324 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.715, allocations: 170.3 kB / 0.7326 GB, free: 6.633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.715, allocations: 0 / 0.7326 GB, free: 6.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/0.7151, allocations: 12 kB / 0.7326 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7151, allocations: 0 / 0.7326 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.7151, allocations: 0 / 0.7326 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7151, allocations: 0 / 0.7326 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7152, allocations: 4 kB / 0.7326 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.7153, allocations: 124.2 kB / 0.7327 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.7154, allocations: 88.98 kB / 0.7328 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.7154, allocations: 3.25 kB / 0.7328 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.7154, allocations: 0 / 0.7328 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.7155, allocations: 7.984 kB / 0.7328 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.7155, allocations: 0 / 0.7328 GB, free: 6.379 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.84e-05/0.7155, allocations: 86.84 kB / 0.7329 GB, free: 6.297 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7155, allocations: 0 / 0.7329 GB, free: 6.297 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.7157, allocations: 39.88 kB / 0.7329 GB, free: 6.258 MB / 490.7 MB 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 () * 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.0005013/0.7162, allocations: 0.6931 MB / 0.7336 GB, free: 5.555 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.7164, allocations: 39.8 kB / 0.7337 GB, free: 5.523 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7164, allocations: 4.156 kB / 0.7337 GB, free: 5.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.7164, allocations: 23.19 kB / 0.7337 GB, free: 5.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.7165, allocations: 7.141 kB / 0.7337 GB, free: 5.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.7169, allocations: 147.7 kB / 0.7338 GB, free: 5.328 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.7172, allocations: 0.6809 MB / 0.7345 GB, free: 4.621 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.871e-05/0.7172, allocations: 8.188 kB / 0.7345 GB, free: 4.609 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.7172, allocations: 18.11 kB / 0.7345 GB, free: 4.594 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7173, allocations: 0 / 0.7345 GB, free: 4.594 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.7299, allocations: 1.503 MB / 0.736 GB, free: 3.266 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002949/0.7302, allocations: 196.6 kB / 0.7362 GB, free: 3.035 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/2.207, allocations: 7.938 kB / 0.7362 GB, free: 3.027 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)