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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001296, allocations: 106 kB / 16.41 MB, free: 6.496 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.001394/0.001394, allocations: 191 kB / 17.34 MB, free: 5.766 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 286 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9097/0.9097, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 99.84 kB / 0.6822 GB, free: 6.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4392, allocations: 86.96 MB / 0.7671 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001505/0.4408, allocations: 0.6018 MB / 0.7677 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003706/0.4412, allocations: 159.5 kB / 0.7678 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.4412, allocations: 0 / 0.7678 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.4412, allocations: 3.938 kB / 0.7678 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.24e-05/0.4412, allocations: 0 / 0.7678 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.4415, allocations: 43.83 kB / 0.7679 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.704e-05/0.4416, allocations: 15.98 kB / 0.7679 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.4416, allocations: 0 / 0.7679 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.841e-05/0.4417, allocations: 4 kB / 0.7679 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.06e-05/0.4417, allocations: 19.91 kB / 0.7679 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.4418, allocations: 0 / 0.7679 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.43e-05/0.4418, allocations: 35.97 kB / 0.7679 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.4419, allocations: 4 kB / 0.7679 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.4419, allocations: 7.938 kB / 0.768 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.179e-05/0.442, allocations: 31.94 kB / 0.768 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.442, allocations: 0 / 0.768 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.873e-06/0.442, allocations: 0 / 0.768 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.442, allocations: 4 kB / 0.768 GB, free: 2.816 MB / 0.5294 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.0003363/0.4424, allocations: 323.6 kB / 0.7683 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.4424, allocations: 8.031 kB / 0.7683 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.4424, allocations: 12.78 kB / 0.7683 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.4425, allocations: 168 kB / 0.7685 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.4426, allocations: 384 / 0.7685 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.4426, allocations: 4.375 kB / 0.7685 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.4427, allocations: 46.23 kB / 0.7685 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.4427, allocations: 192 / 0.7685 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.4427, allocations: 11.92 kB / 0.7685 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4427, allocations: 3.938 kB / 0.7685 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.089e-05/0.4428, allocations: 8 kB / 0.7686 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.4429, allocations: 161.7 kB / 0.7687 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.473e-05/0.443, allocations: 50.5 kB / 0.7688 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.4431, allocations: 20.97 kB / 0.7688 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.123e-05/0.4431, allocations: 81.11 kB / 0.7689 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.4432, allocations: 30.56 kB / 0.7689 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.4432, allocations: 0 / 0.7689 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001111/0.4443, allocations: 0.4924 MB / 0.7694 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.4443, allocations: 51.41 kB / 0.7694 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.517e-05/0.4444, allocations: 97.86 kB / 0.7695 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.4444, allocations: 25.7 kB / 0.7695 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.281e-05/0.4444, allocations: 80.14 kB / 0.7696 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.4445, allocations: 30.17 kB / 0.7696 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.4445, allocations: 17.72 kB / 0.7696 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.4446, allocations: 323 kB / 0.77 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.4446, allocations: 15.92 kB / 0.77 GB, free: 500 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.188e-05/0.4447, allocations: 12.06 kB / 0.77 GB, free: 488 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.054e-05/0.4447, allocations: 44.83 kB / 0.77 GB, free: 440 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.4447, allocations: 0 / 0.77 GB, free: 440 kB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.671e-05/0.4448, allocations: 73.53 kB / 0.7701 GB, free: 360 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4449, allocations: 7.938 kB / 0.7701 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.4449, allocations: 0 / 0.7701 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.4449, allocations: 4 kB / 0.7701 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.445, allocations: 11.98 kB / 0.7701 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.445, allocations: 8 kB / 0.7701 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.445, allocations: 0 / 0.7701 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.445, allocations: 0 / 0.7701 GB, free: 328 kB / 0.5294 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 6.76e-05/0.4451, allocations: 116.2 kB / 0.7702 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.4451, allocations: 3.938 kB / 0.7702 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.4453, allocations: 85.58 kB / 0.7703 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4453, allocations: 0 / 0.7703 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4453, allocations: 0 / 0.7703 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4453, allocations: 4 kB / 0.7703 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.4454, allocations: 169.8 kB / 0.7705 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4454, allocations: 4 kB / 0.7705 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/0.4455, allocations: 12 kB / 0.7705 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4455, allocations: 3.938 kB / 0.7705 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4455, allocations: 8 kB / 0.7705 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4455, allocations: 0 / 0.7705 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4455, allocations: 0 / 0.7705 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.4457, allocations: 117 kB / 0.7706 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.4457, allocations: 89.06 kB / 0.7707 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.4457, allocations: 4 kB / 0.7707 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.994e-05/0.4458, allocations: 0 / 0.7707 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.4458, allocations: 4 kB / 0.7707 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.4458, allocations: 3.984 kB / 0.7707 GB, free: 15.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.4459, allocations: 79.28 kB / 0.7708 GB, free: 15.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4459, allocations: 0 / 0.7708 GB, free: 15.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002009/0.4461, allocations: 32 kB / 0.7708 GB, free: 15.5 MB / 0.545 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.0001858/0.4463, allocations: 131.4 kB / 0.771 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.4464, allocations: 44.31 kB / 0.771 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4464, allocations: 0 / 0.771 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-05/0.4464, allocations: 19.98 kB / 0.771 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.4466, allocations: 12.44 kB / 0.771 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.4469, allocations: 159.5 kB / 0.7712 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.4471, allocations: 0.6884 MB / 0.7719 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.4471, allocations: 15.42 kB / 0.7719 GB, free: 14.38 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.4471, allocations: 0 / 0.7719 GB, free: 14.38 MB / 0.545 GB Notification: Performance of Templates: time 0.002114/0.4492, allocations: 0.9258 MB / 0.7728 GB, free: 13.46 MB / 0.545 GB 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)