Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006687/0.0006687, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009408/0.00161, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006983/0.0006983, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009217/0.00162, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9922/0.9922, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09982/1.092, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.894/1.894, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4669/2.361, allocations: 127.1 MB / 0.7435 GB, free: 4.523 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.407e-06/3.407e-06, allocations: 7.922 kB / 0.7449 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.545e-05, allocations: 5.281 kB / 0.7449 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002127/0.002153, allocations: 0.6648 MB / 0.7455 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002963/0.002449, allocations: 153.4 kB / 0.7457 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.002468, allocations: 0 / 0.7457 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.969e-06/0.002473, allocations: 0 / 0.7457 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.035e-06/0.002481, allocations: 1.312 kB / 0.7457 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.002685, allocations: 35.84 kB / 0.7457 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.198e-05/0.002747, allocations: 13.17 kB / 0.7457 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.002789, allocations: 4.906 kB / 0.7457 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.002844, allocations: 17.12 kB / 0.7457 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.002926, allocations: 5.484 kB / 0.7457 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.002943, allocations: 1.203 kB / 0.7457 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.003071, allocations: 46.09 kB / 0.7458 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.00309, allocations: 5.203 kB / 0.7458 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.349e-05/0.003103, allocations: 0 / 0.7458 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.003224, allocations: 25.23 kB / 0.7458 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.368e-05/0.003238, allocations: 0.875 kB / 0.7458 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003239, allocations: 0 / 0.7458 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.003253, allocations: 0.9375 kB / 0.7458 GB, free: 2.203 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.0004015/0.003655, allocations: 240.6 kB / 0.7461 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.003692, allocations: 8.938 kB / 0.7461 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.003733, allocations: 8.938 kB / 0.7461 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.003836, allocations: 106.8 kB / 0.7462 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.003848, allocations: 1.359 kB / 0.7462 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.003881, allocations: 8.375 kB / 0.7462 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.00399, allocations: 74.31 kB / 0.7463 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.003998, allocations: 192 / 0.7463 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.004008, allocations: 4.375 kB / 0.7463 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.004013, allocations: 384 / 0.7463 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.447e-05/0.004048, allocations: 7.938 kB / 0.7463 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.004159, allocations: 68.98 kB / 0.7463 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.769e-05/0.004247, allocations: 37.2 kB / 0.7464 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.004269, allocations: 13.5 kB / 0.7464 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003337/0.004603, allocations: 63.94 kB / 0.7464 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.004632, allocations: 38.62 kB / 0.7465 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.522e-06/0.004634, allocations: 0 / 0.7465 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.001155/0.005789, allocations: 476.1 kB / 0.7469 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.005818, allocations: 52.06 kB / 0.747 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.005875, allocations: 95.25 kB / 0.7471 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.005888, allocations: 26.42 kB / 0.7471 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.005913, allocations: 84.14 kB / 0.7472 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.005951, allocations: 32.31 kB / 0.7472 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.005986, allocations: 21.72 kB / 0.7472 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.006084, allocations: 321 kB / 0.7475 GB, free: 256 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.006104, allocations: 15.92 kB / 0.7475 GB, free: 240 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.4e-05/0.006118, allocations: 4 kB / 0.7476 GB, free: 236 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/0.006164, allocations: 21.88 kB / 0.7476 GB, free: 212 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.006165, allocations: 4 kB / 0.7476 GB, free: 208 kB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.83e-05/0.006254, allocations: 49.91 kB / 0.7476 GB, free: 152 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.006274, allocations: 8.719 kB / 0.7476 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.00628, allocations: 4.859 kB / 0.7476 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.006295, allocations: 4.578 kB / 0.7476 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.00637, allocations: 16.88 kB / 0.7477 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.006374, allocations: 0 / 0.7477 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.006393, allocations: 3.938 kB / 0.7477 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.006401, allocations: 9.312 kB / 0.7477 GB, free: 108 kB / 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.513e-05/0.006486, allocations: 113.8 kB / 0.7478 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.006497, allocations: 4 kB / 0.7478 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.006598, allocations: 67.33 kB / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.0066, allocations: 0 / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.006601, allocations: 1.406 kB / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006604, allocations: 0 / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.531e-05/0.006669, allocations: 77.81 kB / 0.7479 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.006671, allocations: 4.469 kB / 0.7479 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.00672, allocations: 16 kB / 0.7479 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-06/0.006724, allocations: 0.9688 kB / 0.7479 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006726, allocations: 0.9844 kB / 0.7479 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.006734, allocations: 9.703 kB / 0.748 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.006736, allocations: 4 kB / 0.748 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006737, allocations: 0 / 0.748 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.264e-05/0.00683, allocations: 85.05 kB / 0.748 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.006839, allocations: 7.938 kB / 0.748 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.525e-05/0.006854, allocations: 0.5625 kB / 0.748 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.006867, allocations: 9.766 kB / 0.7481 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.006872, allocations: 4 kB / 0.7481 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.606e-06/0.006881, allocations: 5.734 kB / 0.7481 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006881, allocations: 4 kB / 0.7481 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001168/0.006998, allocations: 32.67 kB / 0.7481 GB, free: 15.62 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001559/0.007154, allocations: 117.3 kB / 0.7482 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.319e-05/0.007217, allocations: 37.92 kB / 0.7482 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.007222, allocations: 1.812 kB / 0.7482 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.428e-05/0.007246, allocations: 25.83 kB / 0.7483 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.889e-05/0.007315, allocations: 20.73 kB / 0.7483 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.007535, allocations: 132.6 kB / 0.7484 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.705e-05/0.007562, allocations: 61.56 kB / 0.7485 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.007593, allocations: 9.812 kB / 0.7485 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.007634, allocations: 55.38 kB / 0.7485 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.007635, allocations: 0 / 0.7485 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.002964/0.0106, allocations: 0.9986 MB / 0.7495 GB, free: 14.18 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.841524268500507]