Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.01021/0.01021, allocations: 102.3 kB / 15.73 MB, free: 5.992 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.001798/0.001798, allocations: 193.6 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4781/0.4781, allocations: 95.48 MB / 365.4 MB, free: 12.14 MB / 318.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 75.89 kB / 0.5036 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4251, allocations: 69.09 MB / 0.5711 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001707/0.4269, allocations: 0.5448 MB / 0.5716 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004002/0.4273, allocations: 153.4 kB / 0.5718 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.4273, allocations: 7.938 kB / 0.5718 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.4273, allocations: 0 / 0.5718 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.164e-06/0.4274, allocations: 0 / 0.5718 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.4277, allocations: 35.91 kB / 0.5718 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.388e-05/0.4278, allocations: 11.98 kB / 0.5718 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.4278, allocations: 3.984 kB / 0.5718 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.719e-05/0.4278, allocations: 4 kB / 0.5718 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.4279, allocations: 4 kB / 0.5719 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.4279, allocations: 4 kB / 0.5719 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.357e-05/0.428, allocations: 31.91 kB / 0.5719 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.4281, allocations: 11.97 kB / 0.5719 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.4281, allocations: 3.938 kB / 0.5719 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.4282, allocations: 31.95 kB / 0.5719 GB, free: 3.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4282, allocations: 0 / 0.5719 GB, free: 3.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4282, allocations: 0 / 0.5719 GB, free: 3.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.4282, allocations: 0 / 0.5719 GB, free: 3.277 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000345/0.4286, allocations: 323.6 kB / 0.5722 GB, free: 2.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4286, allocations: 15.98 kB / 0.5723 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.4287, allocations: 0.9375 kB / 0.5723 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.666e-05/0.4288, allocations: 160.4 kB / 0.5724 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.4288, allocations: 3.938 kB / 0.5724 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.4288, allocations: 12 kB / 0.5724 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.429, allocations: 47.39 kB / 0.5725 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.429, allocations: 0 / 0.5725 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.429, allocations: 8 kB / 0.5725 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.429, allocations: 0 / 0.5725 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.429, allocations: 7.938 kB / 0.5725 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.4292, allocations: 162.5 kB / 0.5726 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.189e-05/0.4293, allocations: 49.09 kB / 0.5727 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.4293, allocations: 21.72 kB / 0.5727 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.4294, allocations: 81.09 kB / 0.5728 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.4295, allocations: 34.56 kB / 0.5728 GB, free: 2.168 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.4295, allocations: 0 / 0.5728 GB, free: 2.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.001073/0.4306, allocations: 427.8 kB / 0.5732 GB, free: 1.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.4306, allocations: 81.05 kB / 0.5733 GB, free: 1.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.776e-05/0.4307, allocations: 93.86 kB / 0.5734 GB, free: 1.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.4307, allocations: 25.7 kB / 0.5734 GB, free: 1.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.4307, allocations: 80.14 kB / 0.5735 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.4308, allocations: 7.906 kB / 0.5735 GB, free: 1.359 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.4308, allocations: 25.83 kB / 0.5735 GB, free: 1.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4309, allocations: 310.8 kB / 0.5738 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.4309, allocations: 8 kB / 0.5738 GB, free: 1.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.431, allocations: 22.56 kB / 0.5739 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.999e-05/0.4311, allocations: 46.45 kB / 0.5739 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4311, allocations: 0 / 0.5739 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.219e-05/0.4312, allocations: 61.53 kB / 0.574 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.4312, allocations: 4 kB / 0.574 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4312, allocations: 4 kB / 0.574 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.4312, allocations: 0 / 0.574 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.4313, allocations: 8 kB / 0.574 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4313, allocations: 0 / 0.574 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.4313, allocations: 7.984 kB / 0.574 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4313, allocations: 12.03 kB / 0.574 GB, free: 0.8203 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 7.63e-05/0.4314, allocations: 110.4 kB / 0.5741 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.4314, allocations: 4 kB / 0.5741 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.4316, allocations: 69.14 kB / 0.5742 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4316, allocations: 0 / 0.5742 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4316, allocations: 4.031 kB / 0.5742 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4316, allocations: 0 / 0.5742 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.4317, allocations: 159.9 kB / 0.5743 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4318, allocations: 0 / 0.5743 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.4318, allocations: 8 kB / 0.5743 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4318, allocations: 3.938 kB / 0.5743 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.4318, allocations: 4 kB / 0.5743 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4319, allocations: 128 / 0.5743 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4319, allocations: 7.984 kB / 0.5743 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.432, allocations: 93.86 kB / 0.5744 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.4321, allocations: 77.11 kB / 0.5745 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.4321, allocations: 0 / 0.5745 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.4321, allocations: 12.02 kB / 0.5745 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.4322, allocations: 0 / 0.5745 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.4322, allocations: 4 kB / 0.5745 GB, free: 172 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.739e-05/0.4322, allocations: 75.28 kB / 0.5746 GB, free: 96 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4322, allocations: 0 / 0.5746 GB, free: 96 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.4324, allocations: 28.06 kB / 0.5746 GB, free: 68 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0002121/0.4327, allocations: 136.3 kB / 0.5747 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.894e-05/0.4327, allocations: 23.86 kB / 0.5748 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4328, allocations: 0 / 0.5748 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/0.4328, allocations: 15.98 kB / 0.5748 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.4329, allocations: 11.69 kB / 0.5748 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.4332, allocations: 122.2 kB / 0.5749 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.4336, allocations: 0.6768 MB / 0.5756 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.239e-05/0.4336, allocations: 3.984 kB / 0.5756 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.4336, allocations: 15.44 kB / 0.5756 GB, free: 15.01 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4336, allocations: 0 / 0.5756 GB, free: 15.01 MB / 446.1 MB Notification: Performance of Templates: time 0.003444/0.4371, allocations: 0.7619 MB / 0.5763 GB, free: 14.26 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)