Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001583, allocations: 117 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 191.7 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437.1 MB / 0.7178 GB, free: 4.484 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.89 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3103, allocations: 151.6 MB / 1.176 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001816/0.3122, allocations: 0.6028 MB / 1.176 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004397/0.3127, allocations: 167.8 kB / 1.177 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.3127, allocations: 0 / 1.177 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.3127, allocations: 3.938 kB / 1.177 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 1.624e-05/0.3127, allocations: 0 / 1.177 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.3131, allocations: 47.89 kB / 1.177 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.92e-05/0.3131, allocations: 11.92 kB / 1.177 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.3132, allocations: 4 kB / 1.177 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.024e-05/0.3132, allocations: 8 kB / 1.177 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.3132, allocations: 7.922 kB / 1.177 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.3133, allocations: 4 kB / 1.177 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.343e-05/0.3134, allocations: 35.95 kB / 1.177 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.3134, allocations: 0 / 1.177 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.3134, allocations: 11.92 kB / 1.177 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.3135, allocations: 31.89 kB / 1.177 GB, free: 4.914 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3135, allocations: 0 / 1.177 GB, free: 4.914 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3135, allocations: 4 kB / 1.177 GB, free: 4.91 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.3135, allocations: 0 / 1.177 GB, free: 4.91 MB / 0.92 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.0004257/0.314, allocations: 339.3 kB / 1.177 GB, free: 4.527 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.314, allocations: 8.031 kB / 1.177 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.314, allocations: 4.875 kB / 1.177 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3142, allocations: 168.4 kB / 1.177 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3142, allocations: 4.375 kB / 1.177 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.3142, allocations: 384 / 1.177 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.3144, allocations: 46.25 kB / 1.177 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3144, allocations: 192 / 1.177 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3144, allocations: 7.938 kB / 1.177 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3144, allocations: 0 / 1.177 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.695e-05/0.3145, allocations: 15.98 kB / 1.177 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.3147, allocations: 153.7 kB / 1.178 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.622e-05/0.3148, allocations: 46.56 kB / 1.178 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.3148, allocations: 20.98 kB / 1.178 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.3149, allocations: 85.09 kB / 1.178 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3149, allocations: 34.56 kB / 1.178 GB, free: 3.812 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.315, allocations: 4 kB / 1.178 GB, free: 3.809 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.001313/0.3163, allocations: 492.3 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.3163, allocations: 55.41 kB / 1.178 GB, free: 3.188 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/0.3164, allocations: 93.86 kB / 1.178 GB, free: 3.086 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3164, allocations: 29.83 kB / 1.178 GB, free: 3.051 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.3165, allocations: 80.14 kB / 1.178 GB, free: 2.969 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.3165, allocations: 27.78 kB / 1.178 GB, free: 2.941 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.3166, allocations: 21.72 kB / 1.178 GB, free: 2.914 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3167, allocations: 314.8 kB / 1.179 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.3168, allocations: 12 kB / 1.179 GB, free: 2.586 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.3168, allocations: 15.98 kB / 1.179 GB, free: 2.57 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.019e-05/0.3169, allocations: 32.86 kB / 1.179 GB, free: 2.535 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3169, allocations: 4 kB / 1.179 GB, free: 2.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.317, allocations: 73.8 kB / 1.179 GB, free: 2.453 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.317, allocations: 11.94 kB / 1.179 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3171, allocations: 0 / 1.179 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3171, allocations: 0 / 1.179 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.3172, allocations: 15.98 kB / 1.179 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3172, allocations: 11.94 kB / 1.179 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.3172, allocations: 4 kB / 1.179 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3172, allocations: 4 kB / 1.179 GB, free: 2.406 MB / 0.92 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 9.09e-05/0.3173, allocations: 113.8 kB / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.3173, allocations: 11.92 kB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.3175, allocations: 77.58 kB / 1.179 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3175, allocations: 0 / 1.179 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3175, allocations: 7.984 kB / 1.179 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3175, allocations: 0 / 1.179 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.3177, allocations: 161.7 kB / 1.179 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3177, allocations: 0 / 1.179 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.3178, allocations: 15.98 kB / 1.179 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3178, allocations: 7.938 kB / 1.179 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3178, allocations: 0 / 1.179 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3178, allocations: 0 / 1.179 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3178, allocations: 0 / 1.179 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.318, allocations: 125 kB / 1.179 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.3181, allocations: 81.05 kB / 1.18 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3181, allocations: 4.062 kB / 1.18 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/0.3182, allocations: 4.031 kB / 1.18 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.3182, allocations: 12.05 kB / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.3182, allocations: 4 kB / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.407e-05/0.3182, allocations: 75.28 kB / 1.18 GB, free: 1.609 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3183, allocations: 0 / 1.18 GB, free: 1.609 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002209/0.3185, allocations: 27.94 kB / 1.18 GB, free: 1.582 MB / 0.92 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.0002325/0.3187, allocations: 135.2 kB / 1.18 GB, free: 1.441 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.3188, allocations: 39.92 kB / 1.18 GB, free: 1.402 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3189, allocations: 4.094 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.3189, allocations: 23.98 kB / 1.18 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.319, allocations: 0 / 1.18 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.3194, allocations: 171 kB / 1.18 GB, free: 1.176 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.3197, allocations: 0.6807 MB / 1.181 GB, free: 480 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.3198, allocations: 11.44 kB / 1.181 GB, free: 472 kB / 0.92 GB Notification: Performance of SimCode: time 2.6e-07/0.3198, allocations: 3.938 kB / 1.181 GB, free: 468 kB / 0.92 GB Notification: Performance of Templates: time 0.002742/0.3225, allocations: 0.9252 MB / 1.182 GB, free: 15.54 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.217616470064968] Failed to read output from testmodel.py, exit status != 0: 0.3298967709997669 0.342815782 0.026656281 Calling exit ...