Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_9_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.001348/0.001348, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 197.8 kB / 16.79 MB, free: 6.828 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.402/1.402, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.401/2.401, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001478, allocations: 71.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6439/0.6454, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001764/0.6472, allocations: 0.6691 MB / 0.9502 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003789/0.6476, allocations: 162.7 kB / 0.9504 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.428e-05/0.6476, allocations: 1.438 kB / 0.9504 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.6476, allocations: 0 / 0.9504 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.102e-05/0.6477, allocations: 4 kB / 0.9504 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.6479, allocations: 35.44 kB / 0.9504 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.071e-05/0.648, allocations: 13.05 kB / 0.9505 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.648, allocations: 1.75 kB / 0.9505 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.648, allocations: 4.062 kB / 0.9505 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.6481, allocations: 18.69 kB / 0.9505 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.6481, allocations: 0 / 0.9505 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-05/0.6482, allocations: 32.06 kB / 0.9505 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.6482, allocations: 1.344 kB / 0.9505 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.6483, allocations: 6.312 kB / 0.9505 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.729e-05/0.6483, allocations: 25.17 kB / 0.9505 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6483, allocations: 1.25 kB / 0.9505 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.51e-07/0.6483, allocations: 0 / 0.9505 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.6483, allocations: 0 / 0.9505 GB, free: 8.438 MB / 0.7169 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.0002916/0.6486, allocations: 334.5 kB / 0.9509 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.6487, allocations: 8.875 kB / 0.9509 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.6487, allocations: 6.516 kB / 0.9509 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.143e-05/0.6488, allocations: 165.6 kB / 0.951 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.6488, allocations: 5.875 kB / 0.951 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.6488, allocations: 9.625 kB / 0.951 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.6489, allocations: 42.5 kB / 0.9511 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.6489, allocations: 192 / 0.9511 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.649, allocations: 3.938 kB / 0.9511 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.649, allocations: 1.25 kB / 0.9511 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.649, allocations: 16.23 kB / 0.9511 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.6491, allocations: 157.1 kB / 0.9513 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.084e-05/0.6492, allocations: 52.44 kB / 0.9513 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.6493, allocations: 17.23 kB / 0.9513 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.462e-05/0.6493, allocations: 83.84 kB / 0.9514 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.6494, allocations: 30.56 kB / 0.9514 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.021e-06/0.6494, allocations: 1.375 kB / 0.9514 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001191/0.6506, allocations: 483.8 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.6506, allocations: 60.7 kB / 0.952 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.845e-05/0.6507, allocations: 99.17 kB / 0.952 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.6507, allocations: 33.69 kB / 0.9521 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.215e-05/0.6507, allocations: 81.52 kB / 0.9522 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.6507, allocations: 22.38 kB / 0.9522 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.6508, allocations: 23.2 kB / 0.9522 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.6508, allocations: 312.2 kB / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.751e-05/0.6508, allocations: 14.88 kB / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/0.6509, allocations: 23.05 kB / 0.9525 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.714e-05/0.6509, allocations: 34.67 kB / 0.9526 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.6509, allocations: 0 / 0.9526 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.432e-05/0.651, allocations: 71.75 kB / 0.9526 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.6511, allocations: 9.438 kB / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.6511, allocations: 0 / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.6511, allocations: 0 / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.6512, allocations: 14.98 kB / 0.9527 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.6512, allocations: 1.375 kB / 0.9527 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.6512, allocations: 1.375 kB / 0.9527 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.6512, allocations: 9.375 kB / 0.9527 GB, free: 6.219 MB / 0.7169 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 4.945e-05/0.6513, allocations: 108.6 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.6513, allocations: 5.312 kB / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.6514, allocations: 95.92 kB / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.6515, allocations: 1.094 kB / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6515, allocations: 0 / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6515, allocations: 0 / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.032e-05/0.6516, allocations: 162.3 kB / 0.953 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6516, allocations: 4 kB / 0.953 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-05/0.6517, allocations: 16.23 kB / 0.953 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6517, allocations: 7.922 kB / 0.9531 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.6517, allocations: 0.9688 kB / 0.9531 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6517, allocations: 0 / 0.9531 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.6517, allocations: 1.312 kB / 0.9531 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.6519, allocations: 121.8 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.6519, allocations: 82.61 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.6519, allocations: 5.156 kB / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.548e-05/0.6519, allocations: 1.312 kB / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.652, allocations: 6.734 kB / 0.9533 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.652, allocations: 6.906 kB / 0.9533 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.55e-05/0.652, allocations: 79.28 kB / 0.9533 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.652, allocations: 0 / 0.9533 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002177/0.6522, allocations: 28.53 kB / 0.9534 GB, free: 5.516 MB / 0.7169 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.0001899/0.6524, allocations: 134.5 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.6525, allocations: 44.09 kB / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.6526, allocations: 0 / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.43e-05/0.6526, allocations: 23.41 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.6527, allocations: 2.438 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.653, allocations: 169.5 kB / 0.9537 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.6531, allocations: 0.6807 MB / 0.9544 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.6532, allocations: 28.47 kB / 0.9544 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6532, allocations: 0 / 0.9544 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of Templates: time 0.002321/0.6555, allocations: 0.9193 MB / 0.9553 GB, free: 4.023 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)