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.0009802/0.0009803, allocations: 115 kB / 16.42 MB, free: 6.488 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.000918/0.000918, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.218/1.218, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 282.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8815/0.8815, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 99.84 kB / 0.6822 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3659, allocations: 86.98 MB / 0.7671 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001502/0.3675, allocations: 0.5863 MB / 0.7677 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003561/0.3679, allocations: 159.5 kB / 0.7678 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.3679, allocations: 0 / 0.7678 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.3679, allocations: 4 kB / 0.7678 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.808e-05/0.3679, allocations: 7.875 kB / 0.7678 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.3682, allocations: 35.89 kB / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.715e-05/0.3683, allocations: 15.98 kB / 0.7679 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.3683, allocations: 0 / 0.7679 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.066e-05/0.3683, allocations: 11.97 kB / 0.7679 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.3684, allocations: 11.94 kB / 0.7679 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.3684, allocations: 0 / 0.7679 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.3685, allocations: 35.97 kB / 0.7679 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.3685, allocations: 3.984 kB / 0.768 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.3686, allocations: 19.92 kB / 0.768 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.3687, allocations: 19.97 kB / 0.768 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3687, allocations: 0 / 0.768 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3687, allocations: 0 / 0.768 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3687, allocations: 4 kB / 0.768 GB, free: 2.965 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.000431/0.3691, allocations: 323.6 kB / 0.7683 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3692, allocations: 8.031 kB / 0.7683 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.3692, allocations: 12.83 kB / 0.7683 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.3694, allocations: 168 kB / 0.7685 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3694, allocations: 4.375 kB / 0.7685 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.3694, allocations: 8.375 kB / 0.7685 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.3695, allocations: 46.25 kB / 0.7685 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3695, allocations: 192 / 0.7685 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3695, allocations: 7.875 kB / 0.7685 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3695, allocations: 0 / 0.7685 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.152e-05/0.3696, allocations: 15.98 kB / 0.7686 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.3698, allocations: 157.7 kB / 0.7687 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.3698, allocations: 54.56 kB / 0.7688 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.3699, allocations: 16.98 kB / 0.7688 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.666e-05/0.37, allocations: 85.09 kB / 0.7689 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.37, allocations: 30.56 kB / 0.7689 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.37, allocations: 0 / 0.7689 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001166/0.3712, allocations: 484.5 kB / 0.7694 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.3712, allocations: 55.41 kB / 0.7694 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.3713, allocations: 105.8 kB / 0.7695 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3713, allocations: 29.7 kB / 0.7695 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.3714, allocations: 80.14 kB / 0.7696 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.3714, allocations: 26.19 kB / 0.7696 GB, free: 1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.3714, allocations: 25.69 kB / 0.7697 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.3715, allocations: 310.8 kB / 0.77 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.3716, allocations: 15.94 kB / 0.77 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.3716, allocations: 20.11 kB / 0.77 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.781e-05/0.3717, allocations: 33.09 kB / 0.77 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3717, allocations: 0 / 0.77 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001095/0.3718, allocations: 77.58 kB / 0.7701 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3718, allocations: 10.59 kB / 0.7701 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3718, allocations: 0 / 0.7701 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3718, allocations: 11.91 kB / 0.7701 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.3719, allocations: 12 kB / 0.7701 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3719, allocations: 0 / 0.7701 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.3719, allocations: 4 kB / 0.7701 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.372, allocations: 8 kB / 0.7701 GB, free: 472 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.351e-05/0.372, allocations: 109.8 kB / 0.7702 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.3721, allocations: 3.938 kB / 0.7703 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.3722, allocations: 93.55 kB / 0.7703 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3722, allocations: 0 / 0.7703 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3722, allocations: 0 / 0.7703 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.3723, allocations: 84.95 kB / 0.7704 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.3723, allocations: 0 / 0.7704 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-05/0.3723, allocations: 12 kB / 0.7704 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.3724, allocations: 3.984 kB / 0.7704 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001839/0.3725, allocations: 149 kB / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002054/0.3728, allocations: 266.7 kB / 0.7708 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.602e-05/0.3728, allocations: 20.02 kB / 0.7709 GB, free: 15.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.25e-05/0.3728, allocations: 79.34 kB / 0.7709 GB, free: 15.59 MB / 0.545 GB Notification: Performance of Backend: time 2.2e-07/0.3728, allocations: 0 / 0.7709 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004144/0.3733, allocations: 137.2 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003437/0.3736, allocations: 0.5652 MB / 0.7716 GB, free: 14.85 MB / 0.545 GB Notification: Performance of Templates: time 0.002923/0.3766, allocations: 0.9798 MB / 0.7726 GB, free: 13.91 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)