Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001187/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 194.8 kB / 16.25 MB, free: 6.629 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.03 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3305, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001783/0.3323, allocations: 0.6541 MB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003889/0.3327, allocations: 161.7 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.3327, allocations: 4 kB / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.3328, allocations: 3.938 kB / 1.069 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.876e-05/0.3328, allocations: 0 / 1.069 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.3331, allocations: 27.97 kB / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.895e-05/0.3332, allocations: 15.98 kB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.3332, allocations: 4 kB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.3332, allocations: 7.938 kB / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.3333, allocations: 15.97 kB / 1.069 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.3333, allocations: 0 / 1.069 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.3334, allocations: 35.97 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.3334, allocations: 4 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.3334, allocations: 19.86 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.022e-05/0.3335, allocations: 27.89 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3335, allocations: 3.938 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3335, allocations: 0 / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3336, allocations: 0 / 1.069 GB, free: 9.824 MB / 0.8262 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.0003731/0.3339, allocations: 327.6 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.334, allocations: 8.031 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.334, allocations: 4.938 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3341, allocations: 168.3 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3341, allocations: 4.375 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.3342, allocations: 8.375 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.3343, allocations: 46.25 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3343, allocations: 192 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3343, allocations: 3.938 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3343, allocations: 0 / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.3344, allocations: 19.92 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.3345, allocations: 157.9 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.596e-05/0.3346, allocations: 50.62 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.3347, allocations: 16.98 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-05/0.3348, allocations: 77.11 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3348, allocations: 38.55 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.3348, allocations: 0 / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.001218/0.336, allocations: 495.9 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3361, allocations: 55.41 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.952e-05/0.3362, allocations: 89.86 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3362, allocations: 33.7 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.553e-05/0.3362, allocations: 84.08 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.3363, allocations: 23.64 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.3363, allocations: 21.72 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3364, allocations: 314.8 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.3364, allocations: 16.56 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.3365, allocations: 15.98 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.134e-05/0.3365, allocations: 32.84 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3366, allocations: 4 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001148/0.3367, allocations: 81.75 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3367, allocations: 7.938 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3367, allocations: 0 / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.3367, allocations: 0 / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.659e-05/0.3368, allocations: 15.98 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3368, allocations: 0 / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.3368, allocations: 4 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.3369, allocations: 8 kB / 1.071 GB, free: 7.324 MB / 0.8262 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 7.266e-05/0.3369, allocations: 105.8 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.337, allocations: 7.938 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.3371, allocations: 81.58 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3371, allocations: 4 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3371, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3372, allocations: 7.922 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.3373, allocations: 169.7 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3373, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.929e-05/0.3374, allocations: 12 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3374, allocations: 7.922 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3374, allocations: 0 / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3374, allocations: 0 / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3374, allocations: 0 / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.3376, allocations: 121 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.3376, allocations: 85.11 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3377, allocations: 0 / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.765e-05/0.3377, allocations: 4.031 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.3377, allocations: 3.984 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3377, allocations: 8 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.864e-05/0.3378, allocations: 75.28 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3378, allocations: 3.938 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002162/0.338, allocations: 28 kB / 1.071 GB, free: 6.508 MB / 0.8262 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.0002077/0.3382, allocations: 135.3 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.3383, allocations: 43.92 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3383, allocations: 0 / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.3384, allocations: 27.92 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.3385, allocations: 4.703 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.3388, allocations: 153.3 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3391, allocations: 0.6846 MB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.618e-05/0.3391, allocations: 7.938 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.3392, allocations: 11.44 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3392, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of Templates: time 0.002986/0.3422, allocations: 0.8721 MB / 1.073 GB, free: 4.523 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)