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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 103.9 kB / 16.52 MB, free: 6.699 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.001147/0.001147, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7006/0.7006, allocations: 115.3 MB / 406.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 59.91 kB / 493.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.334, allocations: 76.17 MB / 0.5564 GB, free: 36.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001717/0.3357, allocations: 0.6528 MB / 0.557 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003785/0.3361, allocations: 166.6 kB / 0.5572 GB, free: 35.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.549e-05/0.3362, allocations: 1.531 kB / 0.5572 GB, free: 35.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.3362, allocations: 0 / 0.5572 GB, free: 35.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.221e-05/0.3362, allocations: 2.031 kB / 0.5572 GB, free: 35.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.3365, allocations: 28.02 kB / 0.5572 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.298e-05/0.3365, allocations: 16.48 kB / 0.5572 GB, free: 35.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.3365, allocations: 2.594 kB / 0.5572 GB, free: 35.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.3366, allocations: 5.094 kB / 0.5572 GB, free: 35.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.224e-05/0.3366, allocations: 18.64 kB / 0.5573 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3367, allocations: 5.406 kB / 0.5573 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.489e-05/0.3367, allocations: 35.06 kB / 0.5573 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.3368, allocations: 3.125 kB / 0.5573 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.3368, allocations: 6.312 kB / 0.5573 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.915e-05/0.3369, allocations: 23.58 kB / 0.5573 GB, free: 35.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3369, allocations: 0 / 0.5573 GB, free: 35.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3369, allocations: 0.625 kB / 0.5573 GB, free: 35.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.3369, allocations: 0 / 0.5573 GB, free: 35.81 MB / 446.1 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.000305/0.3372, allocations: 333.9 kB / 0.5576 GB, free: 35.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3372, allocations: 9.406 kB / 0.5577 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.3373, allocations: 2.844 kB / 0.5577 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3374, allocations: 163.4 kB / 0.5578 GB, free: 35.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3374, allocations: 5.844 kB / 0.5578 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3374, allocations: 1.656 kB / 0.5578 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.631e-05/0.3375, allocations: 42.47 kB / 0.5579 GB, free: 35.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3375, allocations: 3.656 kB / 0.5579 GB, free: 35.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3376, allocations: 5.219 kB / 0.5579 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3376, allocations: 1.406 kB / 0.5579 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.603e-05/0.3376, allocations: 20.77 kB / 0.5579 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.3378, allocations: 161.9 kB / 0.558 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.967e-05/0.3379, allocations: 44.45 kB / 0.5581 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.3379, allocations: 19.84 kB / 0.5581 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-05/0.338, allocations: 82.42 kB / 0.5582 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.338, allocations: 38.28 kB / 0.5582 GB, free: 34.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.338, allocations: 0 / 0.5582 GB, free: 34.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001153/0.3392, allocations: 493.5 kB / 0.5587 GB, free: 34.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.3392, allocations: 52.53 kB / 0.5587 GB, free: 34.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.159e-05/0.3393, allocations: 95.55 kB / 0.5588 GB, free: 34.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.3393, allocations: 27.48 kB / 0.5589 GB, free: 34.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.373e-05/0.3393, allocations: 85.17 kB / 0.5589 GB, free: 34.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.3393, allocations: 18.94 kB / 0.559 GB, free: 34.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.3394, allocations: 22.7 kB / 0.559 GB, free: 34.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.781e-05/0.3394, allocations: 312.2 kB / 0.5593 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.3394, allocations: 13.95 kB / 0.5593 GB, free: 33.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.388e-05/0.3395, allocations: 12.97 kB / 0.5593 GB, free: 33.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.305e-05/0.3395, allocations: 43.41 kB / 0.5593 GB, free: 33.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.3396, allocations: 3.938 kB / 0.5594 GB, free: 33.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.554e-05/0.3397, allocations: 69.56 kB / 0.5594 GB, free: 33.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3397, allocations: 8.984 kB / 0.5594 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.3397, allocations: 1.625 kB / 0.5594 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3397, allocations: 0.7812 kB / 0.5594 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.3398, allocations: 14.14 kB / 0.5594 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3398, allocations: 2.406 kB / 0.5594 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.3398, allocations: 4 kB / 0.5594 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3398, allocations: 3.75 kB / 0.5595 GB, free: 33.71 MB / 446.1 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 5.198e-05/0.3399, allocations: 112.8 kB / 0.5596 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.3399, allocations: 15.78 kB / 0.5596 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.3401, allocations: 79.25 kB / 0.5597 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3401, allocations: 1.891 kB / 0.5597 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3401, allocations: 2.547 kB / 0.5597 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3401, allocations: 0.5938 kB / 0.5597 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.237e-05/0.3402, allocations: 164.3 kB / 0.5598 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3402, allocations: 0.9375 kB / 0.5598 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.3403, allocations: 13.39 kB / 0.5598 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3403, allocations: 5 kB / 0.5598 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3403, allocations: 1.906 kB / 0.5598 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3403, allocations: 1.312 kB / 0.5598 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3403, allocations: 5.125 kB / 0.5598 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.3405, allocations: 120.2 kB / 0.56 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.3405, allocations: 88.05 kB / 0.56 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3405, allocations: 5.531 kB / 0.56 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.54e-05/0.3406, allocations: 2.531 kB / 0.56 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.3406, allocations: 9.281 kB / 0.5601 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.3406, allocations: 3.703 kB / 0.5601 GB, free: 33.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.721e-05/0.3407, allocations: 76.97 kB / 0.5601 GB, free: 33.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3407, allocations: 0 / 0.5601 GB, free: 33.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002154/0.3409, allocations: 29.39 kB / 0.5602 GB, free: 33.05 MB / 446.1 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.0002024/0.3411, allocations: 139.4 kB / 0.5603 GB, free: 32.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.3412, allocations: 40.25 kB / 0.5603 GB, free: 32.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3412, allocations: 0 / 0.5603 GB, free: 32.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.668e-05/0.3412, allocations: 31.28 kB / 0.5604 GB, free: 32.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.3414, allocations: 4.562 kB / 0.5604 GB, free: 32.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.3417, allocations: 175.5 kB / 0.5605 GB, free: 32.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.3418, allocations: 0.6812 MB / 0.5612 GB, free: 32.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.3419, allocations: 17.23 kB / 0.5612 GB, free: 32.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3419, allocations: 0 / 0.5612 GB, free: 32.05 MB / 446.1 MB Notification: Performance of Templates: time 0.00245/0.3443, allocations: 0.9001 MB / 0.5621 GB, free: 32.04 MB / 446.1 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)