Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7695/0.7695, allocations: 143.4 MB / 159.2 MB, free: 4.887 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 187.7 kB / 191.9 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 447.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009718/0.0009719, allocations: 103.1 kB / 0.517 GB, free: 3.734 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001869/0.00187, allocations: 285 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 79.88 kB / 0.6885 GB, free: 3.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3409, allocations: 81.29 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001633/0.3426, allocations: 0.6661 MB / 0.7686 GB, free: 26.99 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00038/0.343, allocations: 165.5 kB / 0.7687 GB, free: 26.83 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.343, allocations: 0 / 0.7687 GB, free: 26.83 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.3431, allocations: 3.719 kB / 0.7687 GB, free: 26.83 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.252e-05/0.3431, allocations: 3.938 kB / 0.7687 GB, free: 26.82 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.3434, allocations: 27.97 kB / 0.7688 GB, free: 26.8 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.333e-05/0.3434, allocations: 8 kB / 0.7688 GB, free: 26.79 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.3435, allocations: 7.969 kB / 0.7688 GB, free: 26.78 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.13e-05/0.3435, allocations: 11.94 kB / 0.7688 GB, free: 26.77 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.3436, allocations: 0 / 0.7688 GB, free: 26.77 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.3436, allocations: 4 kB / 0.7688 GB, free: 26.77 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.738e-05/0.3437, allocations: 35.95 kB / 0.7688 GB, free: 26.73 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.3437, allocations: 7.938 kB / 0.7688 GB, free: 26.72 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.3437, allocations: 11.98 kB / 0.7689 GB, free: 26.71 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 9.531e-05/0.3438, allocations: 31.89 kB / 0.7689 GB, free: 26.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3439, allocations: 0 / 0.7689 GB, free: 26.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3439, allocations: 0 / 0.7689 GB, free: 26.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.3439, allocations: 0 / 0.7689 GB, free: 26.68 MB / 458.7 MB 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.0004106/0.3443, allocations: 330.3 kB / 0.7692 GB, free: 26.31 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3443, allocations: 11.97 kB / 0.7692 GB, free: 26.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.3444, allocations: 0.9375 kB / 0.7692 GB, free: 26.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.113e-05/0.3445, allocations: 168.4 kB / 0.7694 GB, free: 26.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3445, allocations: 4.375 kB / 0.7694 GB, free: 26.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.3445, allocations: 4.281 kB / 0.7694 GB, free: 26.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.3446, allocations: 46.25 kB / 0.7694 GB, free: 26.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3447, allocations: 4.172 kB / 0.7694 GB, free: 26.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3447, allocations: 7.938 kB / 0.7694 GB, free: 26.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3447, allocations: 0 / 0.7694 GB, free: 26.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.3448, allocations: 15.98 kB / 0.7694 GB, free: 26.01 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.3449, allocations: 157.7 kB / 0.7696 GB, free: 25.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.94e-05/0.3451, allocations: 50.56 kB / 0.7696 GB, free: 25.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.3451, allocations: 24.97 kB / 0.7697 GB, free: 25.72 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.495e-05/0.3452, allocations: 77.11 kB / 0.7697 GB, free: 25.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.3452, allocations: 34.56 kB / 0.7698 GB, free: 25.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3452, allocations: 4 kB / 0.7698 GB, free: 25.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.001104/0.3463, allocations: 496.3 kB / 0.7703 GB, free: 25.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.3464, allocations: 55.34 kB / 0.7703 GB, free: 24.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.665e-05/0.3464, allocations: 93.86 kB / 0.7704 GB, free: 24.85 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.3464, allocations: 25.7 kB / 0.7704 GB, free: 24.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.536e-05/0.3465, allocations: 84.14 kB / 0.7705 GB, free: 24.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.3465, allocations: 15.72 kB / 0.7705 GB, free: 24.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.3465, allocations: 33.62 kB / 0.7706 GB, free: 24.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.3466, allocations: 311 kB / 0.7708 GB, free: 24.37 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.3466, allocations: 19.98 kB / 0.7709 GB, free: 24.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.176e-05/0.3466, allocations: 16.06 kB / 0.7709 GB, free: 24.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.567e-05/0.3467, allocations: 40.84 kB / 0.7709 GB, free: 24.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3467, allocations: 0 / 0.7709 GB, free: 24.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.506e-05/0.3468, allocations: 69.53 kB / 0.771 GB, free: 24.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3468, allocations: 11.94 kB / 0.771 GB, free: 24.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3468, allocations: 0 / 0.771 GB, free: 24.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3468, allocations: 0 / 0.771 GB, free: 24.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.3469, allocations: 12 kB / 0.771 GB, free: 24.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3469, allocations: 0 / 0.771 GB, free: 24.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.3469, allocations: 8 kB / 0.771 GB, free: 24.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.347, allocations: 7.984 kB / 0.771 GB, free: 24.18 MB / 458.7 MB 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 4.828e-05/0.347, allocations: 109.8 kB / 0.7711 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.347, allocations: 7.938 kB / 0.7711 GB, free: 24.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.3472, allocations: 85.5 kB / 0.7712 GB, free: 23.96 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3472, allocations: 4 kB / 0.7712 GB, free: 23.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3472, allocations: 0 / 0.7712 GB, free: 23.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3472, allocations: 4 kB / 0.7712 GB, free: 23.95 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.453e-05/0.3473, allocations: 165.7 kB / 0.7714 GB, free: 23.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3473, allocations: 0 / 0.7714 GB, free: 23.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.965e-05/0.3474, allocations: 12 kB / 0.7714 GB, free: 23.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3474, allocations: 3.938 kB / 0.7714 GB, free: 23.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3474, allocations: 0 / 0.7714 GB, free: 23.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3474, allocations: 0 / 0.7714 GB, free: 23.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3474, allocations: 0 / 0.7714 GB, free: 23.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.3495, allocations: 1.365 MB / 0.7727 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.3496, allocations: 89.14 kB / 0.7728 GB, free: 22.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-06/0.3496, allocations: 0 / 0.7728 GB, free: 22.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.3496, allocations: 0 / 0.7728 GB, free: 22.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.3497, allocations: 7.984 kB / 0.7728 GB, free: 22.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.3497, allocations: 4 kB / 0.7728 GB, free: 22.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.844e-05/0.3497, allocations: 79.28 kB / 0.7729 GB, free: 22.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3497, allocations: 0 / 0.7729 GB, free: 22.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.35, allocations: 28.19 kB / 0.7729 GB, free: 21.99 MB / 458.7 MB 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.0001849/0.3502, allocations: 143.7 kB / 0.7731 GB, free: 21.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.3503, allocations: 35.98 kB / 0.7731 GB, free: 21.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.3503, allocations: 0 / 0.7731 GB, free: 21.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.858e-05/0.3503, allocations: 27.92 kB / 0.7731 GB, free: 21.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.3505, allocations: 1.688 kB / 0.7731 GB, free: 21.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.3508, allocations: 271.6 kB / 0.7734 GB, free: 21.47 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.3509, allocations: 0.6809 MB / 0.7741 GB, free: 20.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.978e-05/0.351, allocations: 4 kB / 0.7741 GB, free: 20.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.351, allocations: 11.44 kB / 0.7741 GB, free: 20.75 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.351, allocations: 0 / 0.7741 GB, free: 20.75 MB / 458.7 MB Notification: Performance of Templates: time 0.002747/0.3537, allocations: 0.8978 MB / 0.7749 GB, free: 19.89 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)