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.0008263/0.0008263, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000779/0.000779, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.868/0.868, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.618/1.618, allocations: 359 MB / 0.6044 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: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.9518 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.055e-05, allocations: 5.234 kB / 0.9518 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001014/0.001035, allocations: 0.6033 MB / 0.9524 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003056/0.001341, allocations: 147.5 kB / 0.9525 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.001364, allocations: 0 / 0.9525 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.001382, allocations: 3.938 kB / 0.9525 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 1.867e-05/0.001401, allocations: 0 / 0.9525 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.001687, allocations: 39.83 kB / 0.9526 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.127e-05/0.001738, allocations: 15.98 kB / 0.9526 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.001776, allocations: 0 / 0.9526 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.25e-05/0.001809, allocations: 15.97 kB / 0.9526 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.073e-05/0.001869, allocations: 7.938 kB / 0.9526 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.001883, allocations: 0 / 0.9526 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.276e-05/0.001945, allocations: 31.97 kB / 0.9526 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.001961, allocations: 7.984 kB / 0.9526 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.001977, allocations: 7.984 kB / 0.9526 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.944e-05/0.002076, allocations: 39.88 kB / 0.9527 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002078, allocations: 0 / 0.9527 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.61e-07/0.002079, allocations: 3.938 kB / 0.9527 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.002082, allocations: 0 / 0.9527 GB, free: 2.008 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.0003099/0.002392, allocations: 258.3 kB / 0.9529 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.002428, allocations: 8.031 kB / 0.9529 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.002461, allocations: 8.938 kB / 0.9529 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.026e-05/0.002551, allocations: 109.7 kB / 0.9531 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.002563, allocations: 384 / 0.9531 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.002589, allocations: 12.31 kB / 0.9531 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.002715, allocations: 71.94 kB / 0.9531 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.002723, allocations: 192 / 0.9531 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.002733, allocations: 384 / 0.9531 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.002737, allocations: 384 / 0.9531 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.489e-05/0.002782, allocations: 15.94 kB / 0.9531 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.002895, allocations: 109.3 kB / 0.9533 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.00297, allocations: 42.56 kB / 0.9533 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.002995, allocations: 20.98 kB / 0.9533 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.533e-05/0.003061, allocations: 7.984 kB / 0.9533 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.003082, allocations: 34.56 kB / 0.9534 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 6.81e-07/0.003082, allocations: 0 / 0.9534 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0008386/0.003921, allocations: 423.2 kB / 0.9538 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.003948, allocations: 55.34 kB / 0.9538 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.295e-05/0.003991, allocations: 93.86 kB / 0.9539 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.004005, allocations: 25.7 kB / 0.9539 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.194e-05/0.004027, allocations: 80.14 kB / 0.954 GB, free: 464 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.004055, allocations: 23.97 kB / 0.954 GB, free: 440 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.004082, allocations: 21.72 kB / 0.954 GB, free: 412 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.004243, allocations: 322.8 kB / 0.9544 GB, free: 80 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.004262, allocations: 8 kB / 0.9544 GB, free: 72 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.735e-05/0.004279, allocations: 11.98 kB / 0.9544 GB, free: 60 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/0.004326, allocations: 36.86 kB / 0.9544 GB, free: 20 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.004326, allocations: 0 / 0.9544 GB, free: 20 kB / 0.9011 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.639e-05/0.004413, allocations: 77.8 kB / 0.9545 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.004426, allocations: 8 kB / 0.9545 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.00443, allocations: 0 / 0.9545 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.004441, allocations: 0 / 0.9545 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/0.004497, allocations: 19.98 kB / 0.9545 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.004503, allocations: 8 kB / 0.9545 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.004515, allocations: 0 / 0.9545 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.00452, allocations: 0 / 0.9545 GB, free: 15.9 MB / 0.9167 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 5.091e-05/0.004571, allocations: 117.8 kB / 0.9546 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-06/0.004577, allocations: 4 kB / 0.9546 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.004689, allocations: 85.52 kB / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.00469, allocations: 0 / 0.9547 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.004697, allocations: 11.92 kB / 0.9547 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.0047, allocations: 0 / 0.9547 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.922e-05/0.004759, allocations: 105.3 kB / 0.9548 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.00476, allocations: 0 / 0.9548 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.004804, allocations: 19.92 kB / 0.9548 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.004806, allocations: 3.984 kB / 0.9548 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.004812, allocations: 4 kB / 0.9549 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004813, allocations: 0 / 0.9549 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004813, allocations: 0 / 0.9549 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.004932, allocations: 128.9 kB / 0.955 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-06/0.004937, allocations: 0 / 0.955 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-06/0.004946, allocations: 0 / 0.955 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.414e-05/0.00497, allocations: 4.094 kB / 0.955 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.004985, allocations: 7.984 kB / 0.955 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.004993, allocations: 11.94 kB / 0.955 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 1.933e-05/0.005012, allocations: 75.28 kB / 0.9551 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005012, allocations: 0 / 0.9551 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00014/0.005152, allocations: 31.92 kB / 0.9551 GB, free: 15.23 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.0001305/0.005283, allocations: 131.1 kB / 0.9552 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.16e-05/0.005374, allocations: 43.91 kB / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.005376, allocations: 0 / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/0.005395, allocations: 24.08 kB / 0.9553 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.005498, allocations: 4 kB / 0.9553 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.005735, allocations: 158.5 kB / 0.9554 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.005772, allocations: 73.41 kB / 0.9555 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.005791, allocations: 12.5 kB / 0.9555 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of SimCode: time 7.61e-07/0.005792, allocations: 4 kB / 0.9555 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of Templates: time 0.001638/0.00743, allocations: 0.9438 MB / 0.9565 GB, free: 13.79 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.397165866568685] Failed to read output from testmodel.py, exit status != 0: 0.01161100436002016 0.019097463000000002 0.015504488 Calling exit ...