Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001553/0.001553, allocations: 100.1 kB / 15.88 MB, free: 12 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.001823/0.001823, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.374/1.374, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437 MB / 0.7106 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 63.91 kB / 0.8692 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6204/0.6219, allocations: 151.6 MB / 1.017 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001943/0.6239, allocations: 0.6818 MB / 1.018 GB, free: 2.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004299/0.6243, allocations: 159.5 kB / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.403e-05/0.6243, allocations: 3.938 kB / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.6244, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.83e-05/0.6244, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.6247, allocations: 23.97 kB / 1.018 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.233e-05/0.6247, allocations: 12 kB / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.6248, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.6248, allocations: 15.91 kB / 1.018 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.6249, allocations: 12 kB / 1.018 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.6249, allocations: 0 / 1.018 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.2e-05/0.625, allocations: 35.95 kB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.625, allocations: 3.938 kB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.625, allocations: 15.92 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.625e-05/0.6251, allocations: 15.97 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.6251, allocations: 4 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.22e-07/0.6251, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.6251, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 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.0003741/0.6255, allocations: 327.5 kB / 1.019 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.6255, allocations: 16.03 kB / 1.019 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.6256, allocations: 0.9375 kB / 1.019 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.6257, allocations: 160.4 kB / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.6257, allocations: 4.375 kB / 1.019 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.6257, allocations: 4.375 kB / 1.019 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.6258, allocations: 46.23 kB / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.6259, allocations: 4.125 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.6259, allocations: 3.938 kB / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.6259, allocations: 0 / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.23e-05/0.6259, allocations: 15.94 kB / 1.019 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.6262, allocations: 167.6 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.664e-05/0.6263, allocations: 42.62 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.6263, allocations: 20.97 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.6265, allocations: 81.11 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.6266, allocations: 30.56 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.6266, allocations: 4 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of matching and sorting (n=7): time 0.001312/0.6279, allocations: 0.4959 MB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.6279, allocations: 51.41 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.991e-05/0.628, allocations: 93.86 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.628, allocations: 29.7 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.6281, allocations: 80.14 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.6281, allocations: 23.7 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.6282, allocations: 21.84 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6283, allocations: 314.8 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/0.6283, allocations: 11.98 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.434e-05/0.6284, allocations: 12 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/0.6284, allocations: 49.05 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.6285, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001277/0.6286, allocations: 65.62 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.6286, allocations: 9.344 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.6286, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.6286, allocations: 11.98 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.6287, allocations: 11.98 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.6287, allocations: 4 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.6288, allocations: 4 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.6288, allocations: 448 / 1.02 GB, free: 15.43 MB / 0.7794 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.837e-05/0.6289, allocations: 110.4 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.6289, allocations: 7.844 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.6291, allocations: 93.52 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.6291, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.6291, allocations: 4 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.6291, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.6292, allocations: 169.6 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6292, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.061e-05/0.6293, allocations: 15.94 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.6293, allocations: 3.938 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.6293, allocations: 4 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6293, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6294, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.6295, allocations: 117 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.6296, allocations: 89.06 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.6296, allocations: 3.938 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.555e-05/0.6297, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.6297, allocations: 4 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.6297, allocations: 7.984 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.255e-05/0.6297, allocations: 79.34 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6297, allocations: 4.094 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002293/0.63, allocations: 24 kB / 1.021 GB, free: 14.61 MB / 0.7794 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.0002396/0.6302, allocations: 135.2 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.6303, allocations: 39.98 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6304, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.6304, allocations: 23.92 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.6306, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.6309, allocations: 180.8 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.6312, allocations: 0.6809 MB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.6312, allocations: 15.42 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6312, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.00248/0.6337, allocations: 0.9174 MB / 1.023 GB, free: 12.55 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)