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.001628/0.001628, allocations: 105.4 kB / 15.98 MB, free: 6.336 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.00178/0.00178, allocations: 197.6 kB / 16.91 MB, free: 6.191 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.452/1.452, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.286/2.286, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 65.61 kB / 0.8127 GB, free: 33.36 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3058, allocations: 140.4 MB / 0.9498 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002809/0.3087, allocations: 0.6628 MB / 0.9504 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000492/0.3092, allocations: 165.6 kB / 0.9506 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.3093, allocations: 0 / 0.9506 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.3093, allocations: 0 / 0.9506 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.377e-05/0.3093, allocations: 0 / 0.9506 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.3097, allocations: 39.89 kB / 0.9506 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.935e-05/0.3098, allocations: 8 kB / 0.9506 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.3098, allocations: 4 kB / 0.9506 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.3099, allocations: 11.98 kB / 0.9507 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.3099, allocations: 7.922 kB / 0.9507 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3099, allocations: 8 kB / 0.9507 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.72e-05/0.31, allocations: 31.95 kB / 0.9507 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.3101, allocations: 4 kB / 0.9507 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.3101, allocations: 7.938 kB / 0.9507 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.12e-05/0.3102, allocations: 19.95 kB / 0.9507 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3102, allocations: 0 / 0.9507 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3102, allocations: 0 / 0.9507 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3102, allocations: 0 / 0.9507 GB, free: 8.305 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.0004184/0.3106, allocations: 335.5 kB / 0.951 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3107, allocations: 12.03 kB / 0.9511 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.3107, allocations: 0.9375 kB / 0.9511 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.3109, allocations: 172.3 kB / 0.9512 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3109, allocations: 4.312 kB / 0.9512 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.3109, allocations: 4.375 kB / 0.9512 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.311, allocations: 42.23 kB / 0.9513 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.311, allocations: 192 / 0.9513 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3111, allocations: 7.938 kB / 0.9513 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3111, allocations: 0 / 0.9513 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/0.3111, allocations: 12 kB / 0.9513 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.3113, allocations: 161.9 kB / 0.9514 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.509e-05/0.3114, allocations: 50.56 kB / 0.9515 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.3115, allocations: 20.97 kB / 0.9515 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.3116, allocations: 81.05 kB / 0.9516 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3117, allocations: 38.56 kB / 0.9516 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3117, allocations: 4 kB / 0.9516 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.00143/0.3131, allocations: 492.2 kB / 0.9521 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.3132, allocations: 59.34 kB / 0.9522 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.118e-05/0.3132, allocations: 89.86 kB / 0.9522 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.3133, allocations: 25.7 kB / 0.9523 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.3133, allocations: 84.14 kB / 0.9523 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.3133, allocations: 23.64 kB / 0.9524 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.3134, allocations: 25.84 kB / 0.9524 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3135, allocations: 314.8 kB / 0.9527 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.164e-05/0.3135, allocations: 11.98 kB / 0.9527 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.3136, allocations: 12 kB / 0.9527 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.441e-05/0.3136, allocations: 36.84 kB / 0.9528 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3136, allocations: 0 / 0.9528 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001169/0.3138, allocations: 81.81 kB / 0.9528 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3138, allocations: 11.94 kB / 0.9528 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3138, allocations: 0 / 0.9528 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3138, allocations: 4 kB / 0.9528 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.3139, allocations: 15.98 kB / 0.9529 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3139, allocations: 0 / 0.9529 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.3139, allocations: 0 / 0.9529 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.314, allocations: 4 kB / 0.9529 GB, free: 5.801 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 7.844e-05/0.314, allocations: 111.8 kB / 0.953 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.3141, allocations: 7.938 kB / 0.953 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.3142, allocations: 81.48 kB / 0.9531 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.3142, allocations: 8 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3143, allocations: 0 / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3143, allocations: 0 / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.3144, allocations: 169.6 kB / 0.9532 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3144, allocations: 0 / 0.9532 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.023e-05/0.3145, allocations: 12 kB / 0.9532 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3145, allocations: 3.938 kB / 0.9532 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.3145, allocations: 0 / 0.9532 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3145, allocations: 3.938 kB / 0.9532 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3145, allocations: 0 / 0.9532 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.3147, allocations: 125.2 kB / 0.9534 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.3148, allocations: 85.03 kB / 0.9534 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.3148, allocations: 4 kB / 0.9535 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.892e-05/0.3149, allocations: 8.031 kB / 0.9535 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.3149, allocations: 0 / 0.9535 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3149, allocations: 7.984 kB / 0.9535 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.3149, allocations: 75.28 kB / 0.9535 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3149, allocations: 4.156 kB / 0.9535 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002249/0.3152, allocations: 32 kB / 0.9536 GB, free: 4.973 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.0002338/0.3154, allocations: 131.2 kB / 0.9537 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.3155, allocations: 39.92 kB / 0.9537 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3155, allocations: 0 / 0.9537 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.3156, allocations: 23.98 kB / 0.9538 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.3157, allocations: 5.312 kB / 0.9538 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.3161, allocations: 183.1 kB / 0.9539 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3164, allocations: 0.6805 MB / 0.9546 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.3164, allocations: 15.42 kB / 0.9546 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.3164, allocations: 0 / 0.9546 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of Templates: time 0.002599/0.319, allocations: 0.9169 MB / 0.9555 GB, free: 2.922 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)