Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008846/0.0008846, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009345/0.0009345, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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.9304/0.9304, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.697/1.697, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.408e-05, allocations: 8.891 kB / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001004/0.001018, allocations: 0.615 MB / 0.9511 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002753/0.001294, allocations: 143.5 kB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.001313, allocations: 0 / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.001327, allocations: 0 / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 1.713e-05/0.001344, allocations: 3.938 kB / 0.9513 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.001609, allocations: 47.77 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.551e-05/0.001654, allocations: 11.98 kB / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.001692, allocations: 4 kB / 0.9514 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.608e-05/0.001718, allocations: 4 kB / 0.9514 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.001776, allocations: 7.969 kB / 0.9514 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.001789, allocations: 11.94 kB / 0.9514 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.102e-05/0.00185, allocations: 31.97 kB / 0.9514 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.001862, allocations: 0 / 0.9514 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.494e-05/0.001877, allocations: 7.969 kB / 0.9514 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.018e-05/0.001967, allocations: 39.88 kB / 0.9515 GB, free: 2.531 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.001969, allocations: 0 / 0.9515 GB, free: 2.531 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.71e-07/0.001969, allocations: 0 / 0.9515 GB, free: 2.531 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.001973, allocations: 0 / 0.9515 GB, free: 2.531 MB / 0.9011 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.000278/0.002251, allocations: 258.3 kB / 0.9517 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.002284, allocations: 8.031 kB / 0.9517 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.619e-05/0.002311, allocations: 42.75 kB / 0.9517 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.002332, allocations: 0.9375 kB / 0.9517 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.251e-05/0.002395, allocations: 105.8 kB / 0.9518 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.002403, allocations: 384 / 0.9518 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.002421, allocations: 4.359 kB / 0.9519 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.002523, allocations: 75.89 kB / 0.9519 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.002529, allocations: 4.125 kB / 0.9519 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.002537, allocations: 8.359 kB / 0.9519 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.002542, allocations: 4.125 kB / 0.9519 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.768e-05/0.00258, allocations: 11.98 kB / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.002694, allocations: 128.8 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.973e-05/0.002763, allocations: 42.56 kB / 0.9521 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.002788, allocations: 24.91 kB / 0.9521 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.1e-05/0.002849, allocations: 4 kB / 0.9521 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.002869, allocations: 38.56 kB / 0.9522 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.002869, allocations: 0 / 0.9522 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0007906/0.00366, allocations: 414.8 kB / 0.9526 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.003684, allocations: 51.41 kB / 0.9526 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.141e-05/0.003725, allocations: 97.84 kB / 0.9527 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.003735, allocations: 29.83 kB / 0.9527 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.915e-05/0.003754, allocations: 84.14 kB / 0.9528 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.003778, allocations: 23.78 kB / 0.9528 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.003807, allocations: 25.7 kB / 0.9529 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.003873, allocations: 310.8 kB / 0.9532 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.003891, allocations: 12 kB / 0.9532 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.003909, allocations: 19.92 kB / 0.9532 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.727e-05/0.003957, allocations: 32.86 kB / 0.9532 GB, free: 472 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.003958, allocations: 0 / 0.9532 GB, free: 472 kB / 0.9011 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.98e-05/0.004027, allocations: 69.64 kB / 0.9533 GB, free: 396 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.004038, allocations: 7.984 kB / 0.9533 GB, free: 388 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.004042, allocations: 7.938 kB / 0.9533 GB, free: 380 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.004055, allocations: 7.938 kB / 0.9533 GB, free: 372 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.004104, allocations: 8.438 kB / 0.9533 GB, free: 364 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.00411, allocations: 4.312 kB / 0.9533 GB, free: 360 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.004122, allocations: 3.938 kB / 0.9533 GB, free: 356 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.004126, allocations: 0 / 0.9533 GB, free: 356 kB / 0.9011 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 4.723e-05/0.004174, allocations: 113.8 kB / 0.9534 GB, free: 232 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-06/0.00418, allocations: 7.984 kB / 0.9535 GB, free: 224 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.004294, allocations: 89.61 kB / 0.9535 GB, free: 124 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.004296, allocations: 7.938 kB / 0.9535 GB, free: 116 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.004299, allocations: 3.938 kB / 0.9535 GB, free: 112 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.004302, allocations: 0 / 0.9535 GB, free: 112 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.959e-05/0.004381, allocations: 132.8 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.004382, allocations: 0 / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.004434, allocations: 15.94 kB / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.004437, allocations: 4 kB / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.004442, allocations: 0 / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.004444, allocations: 3.938 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.004445, allocations: 0 / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.004566, allocations: 117 kB / 0.9538 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-06/0.004571, allocations: 8.047 kB / 0.9538 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.00458, allocations: 0 / 0.9538 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.558e-05/0.004605, allocations: 11.97 kB / 0.9538 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.004618, allocations: 0 / 0.9538 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.004623, allocations: 7.984 kB / 0.9538 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 1.827e-05/0.004641, allocations: 75.28 kB / 0.9539 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004641, allocations: 3.938 kB / 0.9539 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001497/0.004791, allocations: 31.94 kB / 0.9539 GB, free: 15.64 MB / 0.9167 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.000332/0.005123, allocations: 0.6751 MB / 0.9546 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.387e-05/0.005207, allocations: 43.92 kB / 0.9546 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.005208, allocations: 0 / 0.9546 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.935e-05/0.005228, allocations: 15.98 kB / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.005337, allocations: 11.94 kB / 0.9547 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007208/0.006058, allocations: 1.204 MB / 0.9558 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.792e-05/0.006096, allocations: 67.34 kB / 0.9559 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.761e-05/0.006123, allocations: 16.03 kB / 0.9559 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.006153, allocations: 16.5 kB / 0.9559 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.006153, allocations: 0 / 0.9559 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.0201, allocations: 2.462 MB / 0.9583 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.834/6.854, allocations: 6.797 kB / 0.9584 GB, free: 11.16 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.923587660305202] Failed to read output from testmodel.py, exit status != 0: 6.937399469316006 6.946037124 6.942391881 Calling exit ...