Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008987/0.0008987, 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.001061/0.001061, 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.9325/0.9325, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.745/1.745, allocations: 377.9 MB / 0.6229 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 3.938 kB / 0.9823 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.911e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001255/0.001284, allocations: 0.6142 MB / 0.9829 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003069/0.001591, allocations: 147.5 kB / 0.983 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.001613, allocations: 0 / 0.983 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.001628, allocations: 0 / 0.983 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 1.948e-05/0.001647, allocations: 3.938 kB / 0.983 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.001943, allocations: 43.77 kB / 0.983 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.085e-05/0.001994, allocations: 11.98 kB / 0.9831 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.002033, allocations: 4 kB / 0.9831 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.986e-05/0.002063, allocations: 11.97 kB / 0.9831 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.954e-05/0.002123, allocations: 4 kB / 0.9831 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.002138, allocations: 4 kB / 0.9831 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.92e-05/0.002207, allocations: 35.95 kB / 0.9831 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.00222, allocations: 3.984 kB / 0.9831 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.002239, allocations: 11.94 kB / 0.9831 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.988e-05/0.002339, allocations: 31.88 kB / 0.9832 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002341, allocations: 0 / 0.9832 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.382e-06/0.002342, allocations: 0 / 0.9832 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.002346, allocations: 0 / 0.9832 GB, free: 1.109 MB / 0.9323 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.0003121/0.002658, allocations: 262.3 kB / 0.9834 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.002696, allocations: 12.03 kB / 0.9834 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.002728, allocations: 4.938 kB / 0.9834 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.624e-05/0.002805, allocations: 105.8 kB / 0.9835 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.002816, allocations: 4.375 kB / 0.9835 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.002836, allocations: 384 / 0.9835 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.002944, allocations: 71.89 kB / 0.9836 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.002951, allocations: 192 / 0.9836 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.002961, allocations: 4.375 kB / 0.9836 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.002967, allocations: 4.375 kB / 0.9836 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.987e-05/0.003006, allocations: 15.92 kB / 0.9836 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.003122, allocations: 105.3 kB / 0.9837 GB, free: 444 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.003199, allocations: 46.62 kB / 0.9838 GB, free: 388 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.003227, allocations: 24.91 kB / 0.9838 GB, free: 360 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-05/0.003298, allocations: 4 kB / 0.9838 GB, free: 356 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.003319, allocations: 34.56 kB / 0.9838 GB, free: 312 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.00332, allocations: 0 / 0.9838 GB, free: 312 kB / 0.9323 GB Notification: Performance of matching and sorting (n=7): time 0.0009524/0.004273, allocations: 415.3 kB / 0.9842 GB, free: 15.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.004304, allocations: 63.34 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.806e-05/0.004352, allocations: 93.84 kB / 0.9844 GB, free: 15.67 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.004363, allocations: 25.7 kB / 0.9844 GB, free: 15.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.004385, allocations: 84.27 kB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.004411, allocations: 23.8 kB / 0.9845 GB, free: 15.53 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.004444, allocations: 25.7 kB / 0.9845 GB, free: 15.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.875e-05/0.004522, allocations: 314.8 kB / 0.9848 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.004544, allocations: 11.98 kB / 0.9848 GB, free: 15.17 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.004563, allocations: 15.94 kB / 0.9849 GB, free: 15.15 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.113e-05/0.004614, allocations: 32.86 kB / 0.9849 GB, free: 15.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.004615, allocations: 0 / 0.9849 GB, free: 15.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.498e-05/0.0047, allocations: 81.84 kB / 0.985 GB, free: 15.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.004712, allocations: 7.984 kB / 0.985 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.004717, allocations: 0 / 0.985 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.004728, allocations: 4 kB / 0.985 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.004795, allocations: 12 kB / 0.985 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002657/0.005061, allocations: 7.875 kB / 0.985 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.005075, allocations: 0 / 0.985 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.005081, allocations: 4 kB / 0.985 GB, free: 15 MB / 0.948 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.656e-05/0.005138, allocations: 113.8 kB / 0.9851 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-06/0.005144, allocations: 4 kB / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.005273, allocations: 77.64 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.005275, allocations: 0 / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.005281, allocations: 7.938 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.005284, allocations: 3.938 kB / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.318e-05/0.005357, allocations: 109.3 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005358, allocations: 0 / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.005415, allocations: 19.92 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.005417, allocations: 0 / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.005424, allocations: 0 / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.005426, allocations: 0 / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.005427, allocations: 0 / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.00557, allocations: 121 kB / 0.9854 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-06/0.005576, allocations: 4 kB / 0.9854 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.005592, allocations: 12.09 kB / 0.9854 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.678e-05/0.005619, allocations: 7.984 kB / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.005634, allocations: 4 kB / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.005639, allocations: 3.938 kB / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.52e-05/0.005664, allocations: 87.22 kB / 0.9855 GB, free: 14.37 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005664, allocations: 0 / 0.9855 GB, free: 14.37 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001665/0.005831, allocations: 31.92 kB / 0.9856 GB, free: 14.34 MB / 0.948 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.0001659/0.005997, allocations: 131.2 kB / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.109e-05/0.006088, allocations: 36.06 kB / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.00609, allocations: 4 kB / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.035e-05/0.00611, allocations: 19.94 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.006226, allocations: 7.984 kB / 0.9858 GB, free: 14.13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.006486, allocations: 154.6 kB / 0.9859 GB, free: 13.95 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.006526, allocations: 71.14 kB / 0.986 GB, free: 13.86 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.006552, allocations: 16.48 kB / 0.986 GB, free: 13.84 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.006552, allocations: 0 / 0.986 GB, free: 13.84 MB / 0.948 GB Notification: Performance of Templates: time 0.00181/0.008362, allocations: 0.941 MB / 0.9869 GB, free: 12.9 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.608747216872871] Failed to read output from testmodel.py, exit status != 0: 0.013940121047198772 0.024499909 0.020176782 Calling exit ...