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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001097, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 182.7 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003948, allocations: 12.23 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6716/0.672, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007434/0.6728, allocations: 341.5 kB / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00043/0.6733, allocations: 159.5 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.609e-05/0.6733, allocations: 3.938 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.6733, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.024e-05/0.6734, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.6736, allocations: 23.98 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.922e-05/0.6737, allocations: 19.97 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.6737, allocations: 4 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.262e-05/0.6738, allocations: 11.94 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.6738, allocations: 3.984 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.6738, allocations: 4 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.6739, allocations: 31.97 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.674, allocations: 7.922 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.674, allocations: 37.64 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.122e-05/0.6741, allocations: 15.97 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6741, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6741, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.6741, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 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.000404/0.6745, allocations: 335.5 kB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.6746, allocations: 8.031 kB / 1.025 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.6746, allocations: 4.938 kB / 1.025 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.6747, allocations: 164.4 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.6747, allocations: 384 / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.6748, allocations: 4.375 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.6749, allocations: 50.23 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.6749, allocations: 192 / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.6749, allocations: 7.938 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.6749, allocations: 3.938 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/0.675, allocations: 11.94 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.6752, allocations: 167.7 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.6754, allocations: 42.56 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.6754, allocations: 20.97 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.662e-05/0.6755, allocations: 81.11 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.6755, allocations: 38.55 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.6755, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.001252/0.6768, allocations: 496.3 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.6768, allocations: 55.41 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.6769, allocations: 89.86 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.6769, allocations: 25.7 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.677, allocations: 88.27 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.677, allocations: 23.61 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.677, allocations: 17.72 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.6771, allocations: 310.8 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.6772, allocations: 15.98 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.376e-05/0.6772, allocations: 15.98 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.46e-05/0.6773, allocations: 41.06 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.6773, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001086/0.6774, allocations: 65.62 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.6774, allocations: 15.94 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.6774, allocations: 0 / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.6775, allocations: 0 / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.6775, allocations: 12 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.6775, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.6776, allocations: 4 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.6776, allocations: 7.984 kB / 1.026 GB, free: 12.73 MB / 0.7794 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 8.118e-05/0.6777, allocations: 110.4 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.6777, allocations: 7.938 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.6779, allocations: 85.52 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6779, allocations: 0 / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6779, allocations: 4 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.6779, allocations: 0 / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.678, allocations: 177.5 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.678, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-05/0.6781, allocations: 12 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.6781, allocations: 3.938 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.6782, allocations: 3.938 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.6782, allocations: 4 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6782, allocations: 0 / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.6784, allocations: 117 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.6785, allocations: 81.05 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.6785, allocations: 3.984 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.544e-05/0.6785, allocations: 4.031 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.6786, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.6786, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.6786, allocations: 79.34 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6786, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002221/0.6789, allocations: 31.98 kB / 1.027 GB, free: 11.91 MB / 0.7794 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.0002254/0.6791, allocations: 139.2 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.6792, allocations: 35.98 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6792, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.6792, allocations: 23.94 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.6794, allocations: 5.469 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.6797, allocations: 178.2 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.68, allocations: 0.6848 MB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.6801, allocations: 11.44 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6801, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.002424/0.6825, allocations: 0.9265 MB / 1.029 GB, free: 9.848 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)