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.00169/0.00169, allocations: 110.4 kB / 16.41 MB, free: 6.504 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.001229/0.001229, allocations: 189.2 kB / 17.34 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002475/0.002475, allocations: 288 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 1.042/1.042, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 99.83 kB / 0.6822 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.45, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001638/0.4516, allocations: 0.5902 MB / 0.7677 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004046/0.452, allocations: 159.5 kB / 0.7678 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.452, allocations: 0 / 0.7678 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.4521, allocations: 3.938 kB / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.67e-05/0.4521, allocations: 4 kB / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.4524, allocations: 43.83 kB / 0.7679 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.881e-05/0.4524, allocations: 8 kB / 0.7679 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.4525, allocations: 4 kB / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.86e-05/0.4525, allocations: 7.984 kB / 0.7679 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.041e-05/0.4525, allocations: 11.92 kB / 0.7679 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.4526, allocations: 4 kB / 0.7679 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.51e-05/0.4526, allocations: 35.97 kB / 0.768 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.4527, allocations: 3.984 kB / 0.768 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.4527, allocations: 3.938 kB / 0.768 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.883e-05/0.4528, allocations: 39.75 kB / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4528, allocations: 0 / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4528, allocations: 0 / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.4528, allocations: 3.938 kB / 0.768 GB, free: 2.98 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.0004384/0.4532, allocations: 333.3 kB / 0.7683 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.4533, allocations: 8.031 kB / 0.7683 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.4533, allocations: 8.891 kB / 0.7683 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.4534, allocations: 164.4 kB / 0.7685 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.4534, allocations: 384 / 0.7685 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.4535, allocations: 4.375 kB / 0.7685 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.4536, allocations: 46.19 kB / 0.7685 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4536, allocations: 4.125 kB / 0.7685 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.4536, allocations: 11.94 kB / 0.7686 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.4536, allocations: 0 / 0.7686 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.4537, allocations: 11.98 kB / 0.7686 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.4539, allocations: 161.7 kB / 0.7687 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.757e-05/0.4539, allocations: 42.56 kB / 0.7688 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.454, allocations: 24.97 kB / 0.7688 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.4541, allocations: 81.11 kB / 0.7689 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.4541, allocations: 34.5 kB / 0.7689 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.4541, allocations: 0 / 0.7689 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001283/0.4554, allocations: 488.5 kB / 0.7694 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.4554, allocations: 51.41 kB / 0.7694 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.4555, allocations: 105.8 kB / 0.7695 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.4555, allocations: 25.7 kB / 0.7695 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.4556, allocations: 80.14 kB / 0.7696 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.4556, allocations: 27.75 kB / 0.7696 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.4557, allocations: 21.7 kB / 0.7697 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4558, allocations: 318.8 kB / 0.77 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.713e-05/0.4558, allocations: 7.984 kB / 0.77 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.4559, allocations: 20.19 kB / 0.77 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.882e-05/0.4559, allocations: 40.8 kB / 0.77 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4559, allocations: 0 / 0.77 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001247/0.4561, allocations: 73.66 kB / 0.7701 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4561, allocations: 7.938 kB / 0.7701 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.4561, allocations: 0 / 0.7701 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4561, allocations: 4 kB / 0.7701 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.4562, allocations: 8 kB / 0.7701 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.4562, allocations: 4 kB / 0.7701 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.4562, allocations: 0 / 0.7701 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.4562, allocations: 4 kB / 0.7701 GB, free: 0.4961 MB / 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 8.774e-05/0.4563, allocations: 124.2 kB / 0.7702 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.4563, allocations: 7.891 kB / 0.7703 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.4565, allocations: 81.64 kB / 0.7703 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4565, allocations: 0 / 0.7703 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4565, allocations: 3.938 kB / 0.7703 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4565, allocations: 0 / 0.7703 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.4566, allocations: 165.6 kB / 0.7705 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.4566, allocations: 7.938 kB / 0.7705 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.4567, allocations: 19.92 kB / 0.7705 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4567, allocations: 3.938 kB / 0.7705 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.4567, allocations: 8 kB / 0.7705 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4567, allocations: 0 / 0.7705 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4567, allocations: 0 / 0.7705 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.4569, allocations: 105.1 kB / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.457, allocations: 89.03 kB / 0.7707 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.457, allocations: 4.062 kB / 0.7707 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.821e-05/0.4571, allocations: 7.984 kB / 0.7707 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.4571, allocations: 4 kB / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4571, allocations: 0 / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.505e-05/0.4571, allocations: 83.22 kB / 0.7708 GB, free: 15.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.4571, allocations: 0 / 0.7708 GB, free: 15.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002357/0.4574, allocations: 35.92 kB / 0.7708 GB, free: 15.66 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.0002124/0.4576, allocations: 123.3 kB / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.4577, allocations: 43.97 kB / 0.771 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.4577, allocations: 0 / 0.771 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.4577, allocations: 24.48 kB / 0.771 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.4579, allocations: 2.656 kB / 0.771 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.4582, allocations: 137.5 kB / 0.7712 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.4585, allocations: 0.6807 MB / 0.7718 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.4585, allocations: 19.83 kB / 0.7718 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.4586, allocations: 15.42 kB / 0.7719 GB, free: 14.56 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.4586, allocations: 0 / 0.7719 GB, free: 14.56 MB / 0.545 GB Notification: Performance of Templates: time 0.003409/0.462, allocations: 0.8799 MB / 0.7727 GB, free: 13.72 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)