Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6066/0.6066, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 349.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.00128, allocations: 100.4 kB / 420 MB, free: 8.508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 59.91 kB / 0.4891 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3235, allocations: 70.06 MB / 0.5575 GB, free: 44.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001721/0.3253, allocations: 0.6465 MB / 0.5581 GB, free: 44.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003641/0.3257, allocations: 173.8 kB / 0.5583 GB, free: 44.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.416e-05/0.3257, allocations: 1.406 kB / 0.5583 GB, free: 44.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.3257, allocations: 0 / 0.5583 GB, free: 44.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.852e-05/0.3257, allocations: 1.344 kB / 0.5583 GB, free: 44.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.326, allocations: 30.58 kB / 0.5583 GB, free: 44.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.571e-05/0.3261, allocations: 9.875 kB / 0.5583 GB, free: 44.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.3261, allocations: 5.156 kB / 0.5584 GB, free: 44.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.782e-05/0.3261, allocations: 7.547 kB / 0.5584 GB, free: 44.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.3262, allocations: 10.19 kB / 0.5584 GB, free: 44.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.3262, allocations: 1.156 kB / 0.5584 GB, free: 44.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.203e-05/0.3263, allocations: 35.42 kB / 0.5584 GB, free: 44.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.3263, allocations: 5.047 kB / 0.5584 GB, free: 44.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.3263, allocations: 11.19 kB / 0.5584 GB, free: 44.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.109e-05/0.3264, allocations: 30.08 kB / 0.5584 GB, free: 44.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3264, allocations: 0 / 0.5584 GB, free: 44.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.3264, allocations: 0 / 0.5584 GB, free: 44.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.3264, allocations: 1.156 kB / 0.5584 GB, free: 44.11 MB / 410.7 MB 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.0003152/0.3268, allocations: 337.8 kB / 0.5588 GB, free: 43.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3268, allocations: 12.92 kB / 0.5588 GB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.3268, allocations: 2.188 kB / 0.5588 GB, free: 43.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.13e-05/0.3269, allocations: 161.7 kB / 0.5589 GB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.3269, allocations: 1.656 kB / 0.5589 GB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.327, allocations: 7.031 kB / 0.5589 GB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.3271, allocations: 44.59 kB / 0.559 GB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3271, allocations: 1.656 kB / 0.559 GB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3271, allocations: 3.938 kB / 0.559 GB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3271, allocations: 5.25 kB / 0.559 GB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.317e-05/0.3272, allocations: 15.27 kB / 0.559 GB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.3273, allocations: 157.9 kB / 0.5592 GB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.352e-05/0.3274, allocations: 44.19 kB / 0.5592 GB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.3274, allocations: 16.92 kB / 0.5592 GB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/0.3275, allocations: 83.44 kB / 0.5593 GB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.3275, allocations: 43.53 kB / 0.5593 GB, free: 43.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3275, allocations: 0 / 0.5593 GB, free: 43.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.001117/0.3286, allocations: 0.4896 MB / 0.5598 GB, free: 42.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.3287, allocations: 51.41 kB / 0.5599 GB, free: 42.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.731e-05/0.3287, allocations: 97.84 kB / 0.56 GB, free: 42.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.3287, allocations: 29.7 kB / 0.56 GB, free: 42.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.172e-05/0.3288, allocations: 80.27 kB / 0.5601 GB, free: 42.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.3288, allocations: 27.62 kB / 0.5601 GB, free: 42.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.3288, allocations: 21.7 kB / 0.5601 GB, free: 42.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.79e-05/0.3289, allocations: 310.8 kB / 0.5604 GB, free: 41.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.3289, allocations: 12 kB / 0.5604 GB, free: 41.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/0.3289, allocations: 15.98 kB / 0.5604 GB, free: 41.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.101e-05/0.329, allocations: 36.8 kB / 0.5605 GB, free: 41.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.329, allocations: 4 kB / 0.5605 GB, free: 41.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.371e-05/0.3291, allocations: 65.67 kB / 0.5605 GB, free: 41.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3291, allocations: 13.81 kB / 0.5606 GB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3291, allocations: 3.984 kB / 0.5606 GB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3291, allocations: 0 / 0.5606 GB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.3292, allocations: 12 kB / 0.5606 GB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.3292, allocations: 3.938 kB / 0.5606 GB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.3292, allocations: 8 kB / 0.5606 GB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3292, allocations: 0 / 0.5606 GB, free: 41.77 MB / 410.7 MB 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.525e-05/0.3293, allocations: 113.8 kB / 0.5607 GB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.3293, allocations: 7.922 kB / 0.5607 GB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.3294, allocations: 85.64 kB / 0.5608 GB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3295, allocations: 0 / 0.5608 GB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3295, allocations: 0 / 0.5608 GB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3295, allocations: 0 / 0.5608 GB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.62e-05/0.3295, allocations: 165.6 kB / 0.5609 GB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3295, allocations: 0 / 0.5609 GB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.038e-05/0.3296, allocations: 19.92 kB / 0.561 GB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3296, allocations: 3.938 kB / 0.561 GB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.3296, allocations: 0 / 0.561 GB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3296, allocations: 4.188 kB / 0.561 GB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3297, allocations: 7.938 kB / 0.561 GB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.3317, allocations: 1.343 MB / 0.5623 GB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.3317, allocations: 77.11 kB / 0.5624 GB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-06/0.3318, allocations: 4 kB / 0.5624 GB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.129e-05/0.3318, allocations: 4 kB / 0.5624 GB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.3318, allocations: 0 / 0.5624 GB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.3318, allocations: 12.08 kB / 0.5624 GB, free: 39.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.513e-05/0.3319, allocations: 75.28 kB / 0.5624 GB, free: 39.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3319, allocations: 0 / 0.5624 GB, free: 39.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.3321, allocations: 32 kB / 0.5625 GB, free: 39.59 MB / 410.7 MB 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.0002163/0.3324, allocations: 139.1 kB / 0.5626 GB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.809e-05/0.3325, allocations: 39.92 kB / 0.5626 GB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3325, allocations: 0 / 0.5626 GB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.3325, allocations: 28.08 kB / 0.5627 GB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.3327, allocations: 11.88 kB / 0.5627 GB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.333, allocations: 262.2 kB / 0.5629 GB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3331, allocations: 0.6848 MB / 0.5636 GB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.672e-05/0.3332, allocations: 8 kB / 0.5636 GB, free: 38.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.3332, allocations: 11.44 kB / 0.5636 GB, free: 38.34 MB / 410.7 MB Notification: Performance of SimCode: time 2e-07/0.3332, allocations: 0 / 0.5636 GB, free: 38.34 MB / 410.7 MB Notification: Performance of Templates: time 0.002658/0.3359, allocations: 0.885 MB / 0.5645 GB, free: 37.46 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)