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.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 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.001238/0.001238, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.58 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3215, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001791/0.3233, allocations: 0.6049 MB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000371/0.3237, allocations: 163.5 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.3237, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.3237, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.731e-05/0.3238, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.3241, allocations: 39.89 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.989e-05/0.3241, allocations: 11.98 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.3242, allocations: 7.938 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.087e-05/0.3242, allocations: 11.94 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.168e-05/0.3243, allocations: 11.97 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3243, allocations: 4 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.83e-05/0.3244, allocations: 27.97 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.3244, allocations: 4 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.3244, allocations: 11.92 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.339e-05/0.3245, allocations: 31.89 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3245, allocations: 0 / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3245, allocations: 0 / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3245, allocations: 0 / 1.069 GB, free: 9.449 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.0003597/0.3249, allocations: 331.6 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3249, allocations: 12.03 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.325, allocations: 0.9375 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.05e-05/0.3251, allocations: 168.3 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3251, allocations: 4.375 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.3251, allocations: 4.375 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.3252, allocations: 42.25 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3252, allocations: 192 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3253, allocations: 3.938 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.3253, allocations: 8 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.49e-05/0.3253, allocations: 19.92 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.3255, allocations: 161.8 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.174e-05/0.3256, allocations: 42.62 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/0.3256, allocations: 20.97 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.603e-05/0.3257, allocations: 81.11 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3258, allocations: 38.55 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 2.474e-06/0.3258, allocations: 0 / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.001216/0.327, allocations: 492.1 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.327, allocations: 55.41 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.379e-05/0.3271, allocations: 89.86 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3271, allocations: 29.7 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.3271, allocations: 84.08 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.3272, allocations: 31.77 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.3272, allocations: 17.72 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.3273, allocations: 318.8 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.3274, allocations: 8 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.3274, allocations: 20.05 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/0.3275, allocations: 40.78 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3275, allocations: 0 / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.978e-05/0.3276, allocations: 69.59 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3276, allocations: 7.938 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3276, allocations: 8 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3276, allocations: 0 / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.3277, allocations: 15.98 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3277, allocations: 0 / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.3277, allocations: 0 / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3277, allocations: 4 kB / 1.071 GB, free: 6.953 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.234e-05/0.3278, allocations: 113.8 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.3278, allocations: 3.938 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.328, allocations: 85.64 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.328, allocations: 0 / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.328, allocations: 256 / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.328, allocations: 3.984 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.3282, allocations: 169.7 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3282, allocations: 4 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.3282, allocations: 8 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.3283, allocations: 7.938 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3283, allocations: 3.984 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3283, allocations: 3.938 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3283, allocations: 4 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.3285, allocations: 115.2 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.3285, allocations: 85.08 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3285, allocations: 0 / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.281e-05/0.3286, allocations: 0 / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.3286, allocations: 7.984 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.3286, allocations: 4 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.3286, allocations: 87.28 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3287, allocations: 3.938 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002138/0.3289, allocations: 28 kB / 1.072 GB, free: 6.125 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.0001922/0.3291, allocations: 135.7 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.3292, allocations: 40.38 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3292, allocations: 0 / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.3292, allocations: 27.92 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.3294, allocations: 10.53 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.3297, allocations: 149.6 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.3299, allocations: 0.6807 MB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.3299, allocations: 11.92 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.3299, allocations: 11.44 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3299, allocations: 4 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of Templates: time 0.002911/0.3329, allocations: 0.8641 MB / 1.074 GB, free: 4.148 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)