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.001648/0.001648, allocations: 118.5 kB / 17.13 MB, free: 5.781 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.001853/0.001853, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.506/1.506, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.859/2.859, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 176] 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.001955/0.001955, allocations: 63.89 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.325, allocations: 160.7 MB / 1.214 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002164/0.3271, allocations: 0.5961 MB / 1.215 GB, free: 320 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004902/0.3276, allocations: 163.5 kB / 1.215 GB, free: 156 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/0.3277, allocations: 7.938 kB / 1.215 GB, free: 148 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.3277, allocations: 0 / 1.215 GB, free: 148 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.042e-05/0.3277, allocations: 3.938 kB / 1.215 GB, free: 144 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.3281, allocations: 39.91 kB / 1.215 GB, free: 104 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.524e-05/0.3282, allocations: 19.97 kB / 1.215 GB, free: 84 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.3282, allocations: 4 kB / 1.215 GB, free: 80 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.228e-05/0.3282, allocations: 0 / 1.215 GB, free: 80 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.872e-05/0.3283, allocations: 15.86 kB / 1.215 GB, free: 64 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.3283, allocations: 0 / 1.215 GB, free: 64 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3285, allocations: 35.97 kB / 1.215 GB, free: 28 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.3285, allocations: 7.984 kB / 1.215 GB, free: 20 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.3285, allocations: 3.938 kB / 1.215 GB, free: 16 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.3287, allocations: 31.88 kB / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3287, allocations: 12 kB / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3287, allocations: 0 / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.3287, allocations: 0 / 1.215 GB, free: 15.97 MB / 0.9669 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.0005152/0.3292, allocations: 333.6 kB / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3292, allocations: 12.03 kB / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.3293, allocations: 0.9375 kB / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.3294, allocations: 168.3 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3294, allocations: 4.375 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.3295, allocations: 384 / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3296, allocations: 54.19 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3296, allocations: 192 / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3296, allocations: 3.938 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.3296, allocations: 0 / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.623e-05/0.3297, allocations: 15.98 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.3299, allocations: 161.7 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.33, allocations: 42.5 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.3301, allocations: 20.98 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.3302, allocations: 81.11 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.3302, allocations: 38.55 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.3302, allocations: 0 / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.001428/0.3317, allocations: 488.4 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3317, allocations: 55.34 kB / 1.216 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/0.3318, allocations: 93.86 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3318, allocations: 25.7 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.3319, allocations: 88.12 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.3319, allocations: 23.78 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.3319, allocations: 21.72 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3321, allocations: 318.8 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.3321, allocations: 8 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.3322, allocations: 15.98 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.219e-05/0.3322, allocations: 36.98 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3322, allocations: 4 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001378/0.3324, allocations: 73.64 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3324, allocations: 7.938 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3324, allocations: 3.938 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3324, allocations: 0 / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3325, allocations: 15.98 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3325, allocations: 320 / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.3325, allocations: 0 / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3326, allocations: 4 kB / 1.217 GB, free: 13.49 MB / 0.9669 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.677e-05/0.3327, allocations: 117.8 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3327, allocations: 11.92 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.3329, allocations: 89.55 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3329, allocations: 7.938 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3329, allocations: 0 / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3329, allocations: 3.984 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.333, allocations: 157.7 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.333, allocations: 0 / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.098e-05/0.3331, allocations: 12 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3331, allocations: 7.938 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3331, allocations: 7.984 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3331, allocations: 0 / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3331, allocations: 0 / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.3334, allocations: 121 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.3334, allocations: 81.05 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.3334, allocations: 0 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.919e-05/0.3335, allocations: 8.031 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.3335, allocations: 8.047 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3335, allocations: 4 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.3335, allocations: 75.28 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3335, allocations: 0 / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002282/0.3338, allocations: 31.94 kB / 1.218 GB, free: 12.65 MB / 0.9669 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.0002567/0.334, allocations: 127.2 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.3342, allocations: 43.91 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3342, allocations: 4.094 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.3342, allocations: 19.98 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.3343, allocations: 4 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.3347, allocations: 171.1 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.3351, allocations: 0.6825 MB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.3351, allocations: 11.44 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3351, allocations: 0 / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of Templates: time 0.003104/0.3382, allocations: 0.9298 MB / 1.22 GB, free: 10.61 MB / 0.9669 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: 11.034697654889897] Failed to read output from testmodel.py, exit status != 0: 0.3467220258899033 0.36104630499999996 0.029376092000000003 Calling exit ...