Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5519/0.5519, allocations: 90.91 MB / 99.34 MB, free: 2.184 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.0009973, allocations: 99.81 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.267e-05, allocations: 8 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.155, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4801/0.6352, allocations: 100.3 MB / 0.6516 GB, free: 9.66 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.6355, allocations: 75.77 kB / 0.6517 GB, free: 9.617 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005528/0.6411, allocations: 2.044 MB / 0.6537 GB, free: 7.918 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.6411, allocations: 0 / 0.6537 GB, free: 7.918 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.6411, allocations: 0 / 0.6537 GB, free: 7.918 MB / 458.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.0003152/0.6414, allocations: 333.8 kB / 0.654 GB, free: 7.551 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.6415, allocations: 12.03 kB / 0.654 GB, free: 7.539 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.6415, allocations: 11.27 kB / 0.654 GB, free: 7.531 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.6416, allocations: 164.1 kB / 0.6542 GB, free: 7.332 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.6417, allocations: 4 kB / 0.6542 GB, free: 7.328 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.6417, allocations: 0 / 0.6542 GB, free: 7.328 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.079e-05/0.6418, allocations: 11.98 kB / 0.6542 GB, free: 7.316 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.145e-05/0.6419, allocations: 41.31 kB / 0.6542 GB, free: 7.273 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.6419, allocations: 0 / 0.6542 GB, free: 7.273 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.6419, allocations: 0 / 0.6542 GB, free: 7.273 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.6419, allocations: 3.953 kB / 0.6542 GB, free: 7.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.6421, allocations: 137.5 kB / 0.6544 GB, free: 7.102 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.462e-05/0.6422, allocations: 47.88 kB / 0.6544 GB, free: 7.055 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.6422, allocations: 18.8 kB / 0.6544 GB, free: 7.039 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.6423, allocations: 85.09 kB / 0.6545 GB, free: 6.938 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.6424, allocations: 34.5 kB / 0.6545 GB, free: 6.895 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.6424, allocations: 0 / 0.6545 GB, free: 6.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.001146/0.6435, allocations: 447.1 kB / 0.655 GB, free: 6.402 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.6436, allocations: 51.41 kB / 0.655 GB, free: 6.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.6437, allocations: 92.98 kB / 0.6551 GB, free: 6.242 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.6437, allocations: 25.7 kB / 0.6551 GB, free: 6.211 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.6437, allocations: 80.14 kB / 0.6552 GB, free: 6.129 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.6438, allocations: 26.44 kB / 0.6552 GB, free: 6.105 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-06/0.6438, allocations: 0 / 0.6552 GB, free: 6.105 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6439, allocations: 321.9 kB / 0.6555 GB, free: 5.785 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.644, allocations: 15.62 kB / 0.6556 GB, free: 5.773 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.644, allocations: 7.312 kB / 0.6556 GB, free: 5.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.586e-05/0.6441, allocations: 11.38 kB / 0.6556 GB, free: 5.762 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6441, allocations: 0 / 0.6556 GB, free: 5.762 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001132/0.6442, allocations: 72.47 kB / 0.6556 GB, free: 5.691 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.6442, allocations: 11.98 kB / 0.6557 GB, free: 5.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.6442, allocations: 0 / 0.6557 GB, free: 5.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.6442, allocations: 0 / 0.6557 GB, free: 5.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.183e-05/0.6443, allocations: 12 kB / 0.6557 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.6443, allocations: 3.938 kB / 0.6557 GB, free: 5.664 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.6444, allocations: 4 kB / 0.6557 GB, free: 5.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.6444, allocations: 0.875 kB / 0.6557 GB, free: 5.66 MB / 458.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 8.272e-05/0.6445, allocations: 108.9 kB / 0.6558 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001062/0.6446, allocations: 68.59 kB / 0.6558 GB, free: 5.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.6446, allocations: 7.906 kB / 0.6558 GB, free: 5.473 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.6448, allocations: 71.39 kB / 0.6559 GB, free: 5.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.6448, allocations: 0 / 0.6559 GB, free: 5.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6448, allocations: 0 / 0.6559 GB, free: 5.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6448, allocations: 4 kB / 0.6559 GB, free: 5.406 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.6449, allocations: 141.5 kB / 0.6561 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.645, allocations: 0 / 0.6561 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.124e-05/0.645, allocations: 23.92 kB / 0.6561 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.6451, allocations: 0 / 0.6561 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.6451, allocations: 3.875 kB / 0.6561 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.6451, allocations: 0 / 0.6561 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6451, allocations: 0 / 0.6561 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.6453, allocations: 114 kB / 0.6562 GB, free: 5.094 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.6453, allocations: 85.05 kB / 0.6563 GB, free: 4.992 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.6454, allocations: 0 / 0.6563 GB, free: 4.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.6454, allocations: 0 / 0.6563 GB, free: 4.992 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.6454, allocations: 7.984 kB / 0.6563 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.6454, allocations: 0 / 0.6563 GB, free: 4.984 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.6455, allocations: 75.28 kB / 0.6564 GB, free: 4.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6455, allocations: 4 kB / 0.6564 GB, free: 4.906 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000229/0.6457, allocations: 39.56 kB / 0.6564 GB, free: 4.871 MB / 458.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.0006707/0.6464, allocations: 0.6848 MB / 0.6571 GB, free: 4.168 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.6465, allocations: 34.94 kB / 0.6571 GB, free: 4.141 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6466, allocations: 0 / 0.6571 GB, free: 4.141 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.6466, allocations: 15.31 kB / 0.6571 GB, free: 4.129 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.6467, allocations: 8 kB / 0.6571 GB, free: 4.125 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.6471, allocations: 147 kB / 0.6573 GB, free: 3.949 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.6475, allocations: 0.6846 MB / 0.6579 GB, free: 3.238 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.191e-05/0.6475, allocations: 8.172 kB / 0.6579 GB, free: 3.227 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.6476, allocations: 19.23 kB / 0.658 GB, free: 3.211 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6476, allocations: 0 / 0.658 GB, free: 3.211 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.6691, allocations: 1.176 MB / 0.6591 GB, free: 2.039 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002781/0.6695, allocations: 163.4 kB / 0.6593 GB, free: 1.848 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.284, allocations: 0 / 0.6593 GB, free: 1.848 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)