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.001099/0.001099, allocations: 98.56 kB / 16.02 MB, free: 76 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.001588/0.001588, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.344 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.465/2.465, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003751, allocations: 15.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6716/0.672, allocations: 142.4 MB / 0.9557 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007917/0.6729, allocations: 339.9 kB / 0.956 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004003/0.6733, allocations: 162.3 kB / 0.9562 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.6733, allocations: 0 / 0.9562 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.6734, allocations: 0 / 0.9562 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.641e-05/0.6734, allocations: 4.969 kB / 0.9562 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.6737, allocations: 30.03 kB / 0.9562 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.02e-05/0.6737, allocations: 15.17 kB / 0.9562 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.6738, allocations: 1.219 kB / 0.9562 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.994e-05/0.6738, allocations: 3.594 kB / 0.9563 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.6739, allocations: 14.23 kB / 0.9563 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.6739, allocations: 1.344 kB / 0.9563 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.481e-05/0.674, allocations: 34.98 kB / 0.9563 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.674, allocations: 1.5 kB / 0.9563 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.674, allocations: 35.86 kB / 0.9563 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.085e-05/0.6741, allocations: 22.17 kB / 0.9564 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.6741, allocations: 0 / 0.9564 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6741, allocations: 0 / 0.9564 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.6741, allocations: 0 / 0.9564 GB, free: 7.273 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.000295/0.6744, allocations: 332.2 kB / 0.9567 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.6745, allocations: 8.344 kB / 0.9567 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.6745, allocations: 2.438 kB / 0.9567 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.501e-05/0.6746, allocations: 165.8 kB / 0.9568 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.6746, allocations: 1.812 kB / 0.9568 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.6746, allocations: 5.844 kB / 0.9568 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.6748, allocations: 50.48 kB / 0.9569 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.6748, allocations: 192 / 0.9569 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.6748, allocations: 8.594 kB / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.6748, allocations: 1.375 kB / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.305e-05/0.6749, allocations: 8.344 kB / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.675, allocations: 159.8 kB / 0.9571 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.6751, allocations: 56 kB / 0.9571 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.6751, allocations: 21.84 kB / 0.9571 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.77e-05/0.6752, allocations: 79.39 kB / 0.9572 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.6752, allocations: 31.62 kB / 0.9572 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.103e-06/0.6752, allocations: 0 / 0.9572 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001172/0.6764, allocations: 490.6 kB / 0.9577 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.6765, allocations: 56.53 kB / 0.9578 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.107e-05/0.6765, allocations: 94.86 kB / 0.9579 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.6765, allocations: 30.73 kB / 0.9579 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.364e-05/0.6765, allocations: 84.14 kB / 0.958 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.6766, allocations: 27.22 kB / 0.958 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.6766, allocations: 15.66 kB / 0.958 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.6767, allocations: 311.9 kB / 0.9583 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.6767, allocations: 14.83 kB / 0.9583 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.6767, allocations: 11.84 kB / 0.9583 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.271e-05/0.6768, allocations: 46.53 kB / 0.9584 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.6768, allocations: 0 / 0.9584 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.836e-05/0.6769, allocations: 67.12 kB / 0.9584 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6769, allocations: 10.22 kB / 0.9585 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.6769, allocations: 1.281 kB / 0.9585 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.6769, allocations: 0 / 0.9585 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.635e-05/0.677, allocations: 14.72 kB / 0.9585 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.677, allocations: 1.281 kB / 0.9585 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.6771, allocations: 5 kB / 0.9585 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.6771, allocations: 5.453 kB / 0.9585 GB, free: 5.062 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 5.03e-05/0.6771, allocations: 116.4 kB / 0.9586 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.6771, allocations: 9.984 kB / 0.9586 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.6773, allocations: 86.81 kB / 0.9587 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6773, allocations: 1.062 kB / 0.9587 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6773, allocations: 0.875 kB / 0.9587 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6773, allocations: 0 / 0.9587 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.017e-05/0.6774, allocations: 161.8 kB / 0.9588 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6774, allocations: 8.953 kB / 0.9588 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.6775, allocations: 11.41 kB / 0.9589 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6775, allocations: 3.938 kB / 0.9589 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.6775, allocations: 1.438 kB / 0.9589 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6775, allocations: 0 / 0.9589 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.6776, allocations: 1.312 kB / 0.9589 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.6777, allocations: 122.1 kB / 0.959 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.6777, allocations: 82.14 kB / 0.9591 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.6778, allocations: 9.266 kB / 0.9591 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.6778, allocations: 1.25 kB / 0.9591 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.6778, allocations: 7.438 kB / 0.9591 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.6778, allocations: 2.219 kB / 0.9591 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.567e-05/0.6779, allocations: 79.22 kB / 0.9592 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6779, allocations: 5.031 kB / 0.9592 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002168/0.6781, allocations: 32.11 kB / 0.9592 GB, free: 4.352 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.0001842/0.6783, allocations: 129.8 kB / 0.9593 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.954e-05/0.6784, allocations: 45.02 kB / 0.9594 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6784, allocations: 0 / 0.9594 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.05e-05/0.6784, allocations: 21.42 kB / 0.9594 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.6786, allocations: 4.469 kB / 0.9594 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.6789, allocations: 178.9 kB / 0.9595 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.679, allocations: 0.6808 MB / 0.9602 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.679, allocations: 19.12 kB / 0.9602 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.679, allocations: 0 / 0.9602 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of Templates: time 0.002245/0.6813, allocations: 0.9175 MB / 0.9611 GB, free: 2.863 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)