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.001345/0.001345, allocations: 108.3 kB / 16.41 MB, free: 6.406 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.001094/0.001095, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 277.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9158/0.9158, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 95.84 kB / 0.6822 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4462, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00162/0.4479, allocations: 0.6012 MB / 0.7677 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003927/0.4483, allocations: 155.5 kB / 0.7678 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.4483, allocations: 0 / 0.7678 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.4484, allocations: 0 / 0.7678 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.937e-05/0.4484, allocations: 7.875 kB / 0.7678 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.4487, allocations: 39.89 kB / 0.7679 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.4487, allocations: 15.98 kB / 0.7679 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.4488, allocations: 4 kB / 0.7679 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.841e-05/0.4488, allocations: 4 kB / 0.7679 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.4489, allocations: 19.91 kB / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.4489, allocations: 0 / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.449, allocations: 35.97 kB / 0.7679 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.449, allocations: 0 / 0.7679 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.449, allocations: 7.938 kB / 0.768 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.624e-05/0.4491, allocations: 31.94 kB / 0.768 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4491, allocations: 0 / 0.768 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4492, allocations: 0 / 0.768 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4492, allocations: 0 / 0.768 GB, free: 3.008 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.0003577/0.4495, allocations: 331.6 kB / 0.7683 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.4496, allocations: 8.031 kB / 0.7683 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.4496, allocations: 8.844 kB / 0.7683 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.4497, allocations: 172 kB / 0.7685 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.4497, allocations: 384 / 0.7685 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.4498, allocations: 4.375 kB / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.4499, allocations: 46.19 kB / 0.7685 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4499, allocations: 192 / 0.7685 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4499, allocations: 15.88 kB / 0.7685 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4499, allocations: 0 / 0.7685 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.45, allocations: 11.98 kB / 0.7686 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.4501, allocations: 157.7 kB / 0.7687 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/0.4502, allocations: 54.48 kB / 0.7688 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.4503, allocations: 16.98 kB / 0.7688 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.385e-05/0.4504, allocations: 81.11 kB / 0.7689 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4504, allocations: 38.55 kB / 0.7689 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.4504, allocations: 0 / 0.7689 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001181/0.4516, allocations: 492.2 kB / 0.7694 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.4516, allocations: 55.34 kB / 0.7694 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.283e-05/0.4517, allocations: 97.86 kB / 0.7695 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.4517, allocations: 25.7 kB / 0.7695 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.4517, allocations: 84.27 kB / 0.7696 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.4518, allocations: 30.17 kB / 0.7696 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.4518, allocations: 17.72 kB / 0.7697 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.4519, allocations: 318.8 kB / 0.77 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.4519, allocations: 12 kB / 0.77 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.452, allocations: 16.05 kB / 0.77 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.791e-05/0.452, allocations: 32.86 kB / 0.77 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.452, allocations: 0 / 0.77 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.939e-05/0.4521, allocations: 77.58 kB / 0.7701 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4522, allocations: 17.91 kB / 0.7701 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4522, allocations: 0 / 0.7701 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4522, allocations: 0 / 0.7701 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.513e-05/0.4523, allocations: 15.98 kB / 0.7701 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.4523, allocations: 0 / 0.7701 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.4523, allocations: 4 kB / 0.7701 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.4523, allocations: 0 / 0.7701 GB, free: 0.5078 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 6.534e-05/0.4524, allocations: 113.8 kB / 0.7702 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.4524, allocations: 3.938 kB / 0.7702 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.4526, allocations: 89.58 kB / 0.7703 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4526, allocations: 0 / 0.7703 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4526, allocations: 256 / 0.7703 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4526, allocations: 7.922 kB / 0.7703 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.4527, allocations: 165.7 kB / 0.7705 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4527, allocations: 0 / 0.7705 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-05/0.4528, allocations: 12 kB / 0.7705 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4528, allocations: 3.938 kB / 0.7705 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.4528, allocations: 7.984 kB / 0.7705 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4528, allocations: 8 kB / 0.7705 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4528, allocations: 0 / 0.7705 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.453, allocations: 117 kB / 0.7706 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.4531, allocations: 81.05 kB / 0.7707 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.4531, allocations: 8.031 kB / 0.7707 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-05/0.4531, allocations: 0 / 0.7707 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.4531, allocations: 7.984 kB / 0.7707 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4532, allocations: 0 / 0.7707 GB, free: 15.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.762e-05/0.4532, allocations: 83.34 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4532, allocations: 0 / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002049/0.4534, allocations: 32 kB / 0.7708 GB, free: 15.67 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.0001958/0.4536, allocations: 127.1 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.4537, allocations: 39.92 kB / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4537, allocations: 0 / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.4538, allocations: 24.53 kB / 0.771 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.4539, allocations: 12.09 kB / 0.771 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.4542, allocations: 151.3 kB / 0.7712 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.4544, allocations: 0.6845 MB / 0.7718 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.4544, allocations: 11.44 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4544, allocations: 3.938 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of Templates: time 0.002129/0.4566, allocations: 0.9277 MB / 0.7728 GB, free: 13.64 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)