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.691/1.691, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.001205/0.001205, allocations: 180.8 kB / 366.7 MB, free: 1.688 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.032/2.032, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0008714/0.0008715, allocations: 83.47 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.157e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.698, allocations: 116.3 MB / 0.9734 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2056/0.9037, allocations: 137.8 MB / 1.108 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.904, allocations: 75.95 kB / 1.108 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005835/0.9099, allocations: 2.021 MB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9099, allocations: 0 / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.9099, allocations: 0.5938 kB / 1.11 GB, free: 10.33 MB / 0.7136 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.0003368/0.9103, allocations: 331.1 kB / 1.11 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.9103, allocations: 9.375 kB / 1.11 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.9104, allocations: 4 kB / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.9105, allocations: 167 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.9105, allocations: 0.8438 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.9106, allocations: 7.906 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.096e-05/0.9107, allocations: 11.98 kB / 1.11 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.686e-05/0.9107, allocations: 44.22 kB / 1.111 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.9108, allocations: 0 / 1.111 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.9108, allocations: 4 kB / 1.111 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.9108, allocations: 0.625 kB / 1.111 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.911, allocations: 138.8 kB / 1.111 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.155e-05/0.9111, allocations: 43.92 kB / 1.111 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.9111, allocations: 17.7 kB / 1.111 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.9112, allocations: 81.09 kB / 1.111 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.9113, allocations: 39.94 kB / 1.111 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.9113, allocations: 0 / 1.111 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.001202/0.9125, allocations: 443.1 kB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.9125, allocations: 56.81 kB / 1.111 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.081e-05/0.9126, allocations: 92.98 kB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.9126, allocations: 30.92 kB / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.9127, allocations: 80.14 kB / 1.111 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.9127, allocations: 15.66 kB / 1.112 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.9127, allocations: 5.75 kB / 1.112 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.9128, allocations: 318.8 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.9129, allocations: 8 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.9129, allocations: 9.25 kB / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.346e-05/0.9129, allocations: 12 kB / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.913, allocations: 0 / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000112/0.9131, allocations: 82 kB / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.9131, allocations: 7.984 kB / 1.112 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.9131, allocations: 0 / 1.112 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.9131, allocations: 4 kB / 1.112 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.9132, allocations: 12.56 kB / 1.112 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.9132, allocations: 1.031 kB / 1.112 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.9133, allocations: 4 kB / 1.112 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.9133, allocations: 0 / 1.112 GB, free: 8.043 MB / 0.7136 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 (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 9.183e-05/0.9134, allocations: 102.4 kB / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001084/0.9135, allocations: 70.94 kB / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.9135, allocations: 0 / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.9137, allocations: 79.38 kB / 1.112 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.9138, allocations: 4 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9138, allocations: 1.531 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9138, allocations: 0 / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.9139, allocations: 139.3 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.9139, allocations: 0 / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.615e-05/0.914, allocations: 20.06 kB / 1.112 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.914, allocations: 4 kB / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.914, allocations: 0 / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.914, allocations: 0 / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9141, allocations: 0 / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.9142, allocations: 114.9 kB / 1.112 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.9143, allocations: 80.36 kB / 1.113 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.9143, allocations: 3.953 kB / 1.113 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.328e-05/0.9144, allocations: 12.03 kB / 1.113 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.9144, allocations: 3.984 kB / 1.113 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.9144, allocations: 4 kB / 1.113 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.9145, allocations: 79.28 kB / 1.113 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9145, allocations: 0 / 1.113 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002203/0.9147, allocations: 39.94 kB / 1.113 GB, free: 7.215 MB / 0.7136 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 () * 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.000656/0.9154, allocations: 0.692 MB / 1.113 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.978e-05/0.9155, allocations: 32 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.9155, allocations: 0 / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.9155, allocations: 19.94 kB / 1.113 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.9157, allocations: 7.938 kB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.9161, allocations: 139.5 kB / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.9165, allocations: 0.6885 MB / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.207e-05/0.9165, allocations: 9.219 kB / 1.114 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.9165, allocations: 21.3 kB / 1.114 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.9166, allocations: 0 / 1.114 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.9365, allocations: 1.175 MB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.9368, allocations: 168.3 kB / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/2.423, allocations: 1.719 kB / 1.116 GB, free: 4.215 MB / 0.7136 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)