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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001293/0.001293, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001306/0.001306, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.468/2.468, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001402, allocations: 66.66 kB / 0.8132 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3039, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002202/0.3062, allocations: 0.5998 MB / 0.9509 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004669/0.3066, allocations: 159.4 kB / 0.951 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.3067, allocations: 0 / 0.951 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.3067, allocations: 0 / 0.951 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.692e-05/0.3068, allocations: 3.938 kB / 0.951 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.3072, allocations: 47.83 kB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.781e-05/0.3072, allocations: 15.98 kB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/0.3073, allocations: 0 / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.481e-05/0.3073, allocations: 7.984 kB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.3074, allocations: 19.92 kB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.3074, allocations: 0 / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.3075, allocations: 31.97 kB / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.3076, allocations: 0 / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.3076, allocations: 19.91 kB / 0.9512 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3077, allocations: 23.97 kB / 0.9512 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3077, allocations: 0 / 0.9512 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3077, allocations: 0 / 0.9512 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3077, allocations: 0 / 0.9512 GB, free: 7.957 MB / 0.7325 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.0004174/0.3081, allocations: 339.4 kB / 0.9515 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3082, allocations: 8.031 kB / 0.9515 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.3082, allocations: 4.938 kB / 0.9515 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.3084, allocations: 168.3 kB / 0.9517 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3084, allocations: 384 / 0.9517 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.3084, allocations: 4.375 kB / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3086, allocations: 46.25 kB / 0.9517 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3086, allocations: 192 / 0.9517 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3086, allocations: 3.938 kB / 0.9517 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3086, allocations: 0 / 0.9517 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.045e-05/0.3087, allocations: 15.98 kB / 0.9517 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.3089, allocations: 165.9 kB / 0.9519 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.958e-05/0.309, allocations: 50.5 kB / 0.952 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.309, allocations: 16.98 kB / 0.952 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.3092, allocations: 85.09 kB / 0.952 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.3092, allocations: 30.56 kB / 0.9521 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.3092, allocations: 4 kB / 0.9521 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.001403/0.3106, allocations: 487.9 kB / 0.9525 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.3107, allocations: 55.34 kB / 0.9526 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.3107, allocations: 89.86 kB / 0.9527 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3107, allocations: 33.7 kB / 0.9527 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.3108, allocations: 80.14 kB / 0.9528 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.3108, allocations: 19.64 kB / 0.9528 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.3109, allocations: 29.84 kB / 0.9528 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.311, allocations: 314.8 kB / 0.9531 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/0.311, allocations: 12 kB / 0.9532 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.582e-05/0.3111, allocations: 19.97 kB / 0.9532 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.342e-05/0.3111, allocations: 28.86 kB / 0.9532 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3111, allocations: 0 / 0.9532 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001123/0.3113, allocations: 73.62 kB / 0.9533 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3113, allocations: 7.938 kB / 0.9533 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3113, allocations: 0 / 0.9533 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3113, allocations: 4 kB / 0.9533 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.3114, allocations: 19.92 kB / 0.9533 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3114, allocations: 3.938 kB / 0.9533 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.3115, allocations: 448 / 0.9533 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3115, allocations: 4 kB / 0.9533 GB, free: 5.465 MB / 0.7325 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 9.487e-05/0.3116, allocations: 111.8 kB / 0.9534 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.3116, allocations: 7.938 kB / 0.9534 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.3118, allocations: 93.78 kB / 0.9535 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3118, allocations: 11.98 kB / 0.9535 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3118, allocations: 0 / 0.9535 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3118, allocations: 0 / 0.9535 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.3119, allocations: 169.6 kB / 0.9537 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.312, allocations: 0 / 0.9537 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.37e-05/0.312, allocations: 15.98 kB / 0.9537 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3121, allocations: 3.938 kB / 0.9537 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.3121, allocations: 0 / 0.9537 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3121, allocations: 0 / 0.9537 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3121, allocations: 4 kB / 0.9537 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.3123, allocations: 113 kB / 0.9538 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.3123, allocations: 85.05 kB / 0.9539 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3124, allocations: 0 / 0.9539 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.725e-05/0.3124, allocations: 4.031 kB / 0.9539 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.3124, allocations: 7.984 kB / 0.9539 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3124, allocations: 0 / 0.9539 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.425e-05/0.3125, allocations: 83.34 kB / 0.954 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3125, allocations: 0 / 0.954 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002349/0.3127, allocations: 28 kB / 0.954 GB, free: 4.637 MB / 0.7325 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.0002268/0.313, allocations: 135.2 kB / 0.9541 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.3131, allocations: 39.92 kB / 0.9542 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3131, allocations: 0 / 0.9542 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/0.3131, allocations: 23.98 kB / 0.9542 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.3133, allocations: 6.25 kB / 0.9542 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.3137, allocations: 177.3 kB / 0.9544 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.314, allocations: 0.6883 MB / 0.9551 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.3141, allocations: 15.38 kB / 0.9551 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.3141, allocations: 0 / 0.9551 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of Templates: time 0.002523/0.3166, allocations: 0.9136 MB / 0.956 GB, free: 2.582 MB / 0.7325 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)