Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009416/0.0009417, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.005995/0.005995, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004542, allocations: 10.34 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3183, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0008213/0.3191, allocations: 338.8 kB / 1.074 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004559/0.3196, allocations: 161.7 kB / 1.075 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.669e-05/0.3197, allocations: 0 / 1.075 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.3197, allocations: 3.938 kB / 1.075 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.362e-05/0.3197, allocations: 0 / 1.075 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.32, allocations: 31.95 kB / 1.075 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.922e-05/0.3201, allocations: 8 kB / 1.075 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.3201, allocations: 7.938 kB / 1.075 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.3202, allocations: 19.92 kB / 1.075 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.3202, allocations: 0 / 1.075 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.3203, allocations: 4 kB / 1.075 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.3204, allocations: 39.95 kB / 1.075 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.3204, allocations: 3.984 kB / 1.075 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.3204, allocations: 37.64 kB / 1.075 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.3205, allocations: 27.89 kB / 1.075 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3206, allocations: 0 / 1.075 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3206, allocations: 3.938 kB / 1.075 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.3206, allocations: 0 / 1.075 GB, free: 6.863 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.0003777/0.321, allocations: 329.2 kB / 1.075 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.321, allocations: 8.031 kB / 1.075 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.321, allocations: 4.938 kB / 1.075 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3212, allocations: 164.4 kB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3212, allocations: 384 / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.3212, allocations: 8.281 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.3213, allocations: 42.25 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3214, allocations: 192 / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3214, allocations: 7.938 kB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3214, allocations: 4 kB / 1.075 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.3214, allocations: 15.92 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.3217, allocations: 162 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.76e-05/0.3218, allocations: 46.56 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.3218, allocations: 16.98 kB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.3219, allocations: 81.09 kB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.322, allocations: 38.56 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.322, allocations: 0 / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.00126/0.3232, allocations: 0.4885 MB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3233, allocations: 51.41 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.498e-05/0.3233, allocations: 93.86 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3234, allocations: 25.7 kB / 1.076 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.3234, allocations: 84.27 kB / 1.076 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.3235, allocations: 31.58 kB / 1.076 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.3235, allocations: 13.72 kB / 1.076 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3236, allocations: 318.8 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/0.3236, allocations: 8 kB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.3237, allocations: 12 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.856e-05/0.3237, allocations: 40.84 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3238, allocations: 0 / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001166/0.3239, allocations: 73.52 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3239, allocations: 11.94 kB / 1.077 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3239, allocations: 4 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3239, allocations: 0 / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.324, allocations: 11.98 kB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.324, allocations: 4 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.3241, allocations: 4 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3241, allocations: 3.938 kB / 1.077 GB, free: 4.379 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 8.125e-05/0.3242, allocations: 109.8 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.3242, allocations: 3.938 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.3244, allocations: 89.89 kB / 1.077 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3244, allocations: 0 / 1.077 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3244, allocations: 0 / 1.077 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3244, allocations: 0 / 1.077 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.3245, allocations: 165.7 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3246, allocations: 0 / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.3246, allocations: 12 kB / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3246, allocations: 3.938 kB / 1.077 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.3247, allocations: 4 kB / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3247, allocations: 3.984 kB / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3247, allocations: 4 kB / 1.077 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.3249, allocations: 121.1 kB / 1.077 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.3249, allocations: 89.17 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3249, allocations: 4 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.381e-05/0.325, allocations: 0 / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.325, allocations: 4 kB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.325, allocations: 11.98 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.055e-05/0.3251, allocations: 79.34 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.904e-06/0.3251, allocations: 0 / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002213/0.3253, allocations: 31.94 kB / 1.078 GB, free: 3.551 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.0002258/0.3255, allocations: 127.2 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.3257, allocations: 43.91 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3257, allocations: 4 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.3257, allocations: 19.98 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.3259, allocations: 8.844 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.3262, allocations: 156.4 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.3265, allocations: 0.6809 MB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.646e-05/0.3266, allocations: 4 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.3266, allocations: 19.42 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.3266, allocations: 0 / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of Templates: time 0.003328/0.3299, allocations: 0.8418 MB / 1.079 GB, free: 1.602 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)