Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7858/0.7858, allocations: 128.8 MB / 143.7 MB, free: 2.207 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001862/0.001862, allocations: 180 kB / 173.8 MB, free: 6.027 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.4 MB / 409 MB, free: 10.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 95.41 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003626, allocations: 11.34 kB / 0.5604 GB, free: 97.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1555, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.2947, allocations: 102.2 MB / 0.7351 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.2951, allocations: 79.95 kB / 0.7352 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.006075/0.3012, allocations: 2.175 MB / 0.7373 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.707e-06/0.3012, allocations: 0 / 0.7373 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3012, allocations: 0 / 0.7373 GB, free: 5.973 MB / 0.5105 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.0003612/0.3016, allocations: 333.6 kB / 0.7376 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.3016, allocations: 12.03 kB / 0.7376 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.3017, allocations: 7.953 kB / 0.7377 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.3018, allocations: 159.1 kB / 0.7378 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3019, allocations: 4 kB / 0.7378 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.3019, allocations: 7.906 kB / 0.7378 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.302, allocations: 45.67 kB / 0.7379 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.302, allocations: 0 / 0.7379 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3021, allocations: 0 / 0.7379 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3021, allocations: 0 / 0.7379 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.507e-05/0.3021, allocations: 19.92 kB / 0.7379 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.3024, allocations: 165.6 kB / 0.738 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.719e-05/0.3025, allocations: 42.62 kB / 0.7381 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.3026, allocations: 89.08 kB / 0.7382 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.3026, allocations: 34.5 kB / 0.7382 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3026, allocations: 0 / 0.7382 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.001341/0.304, allocations: 488.4 kB / 0.7387 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.304, allocations: 55.41 kB / 0.7387 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.3041, allocations: 85 kB / 0.7388 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3041, allocations: 29.7 kB / 0.7388 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.3042, allocations: 80.14 kB / 0.7389 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.3042, allocations: 23.64 kB / 0.7389 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.3042, allocations: 4 kB / 0.7389 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3044, allocations: 318.8 kB / 0.7392 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.021e-05/0.3044, allocations: 12.11 kB / 0.7392 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.3044, allocations: 16 kB / 0.7393 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.3045, allocations: 16.22 kB / 0.7393 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3045, allocations: 0 / 0.7393 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001139/0.3046, allocations: 81.52 kB / 0.7393 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3046, allocations: 4 kB / 0.7394 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3046, allocations: 0 / 0.7394 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3047, allocations: 0 / 0.7394 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.3048, allocations: 15.98 kB / 0.7394 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3048, allocations: 0 / 0.7394 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.3048, allocations: 0 / 0.7394 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.3048, allocations: 8 kB / 0.7394 GB, free: 3.566 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.637e-05/0.3049, allocations: 113.8 kB / 0.7395 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.3049, allocations: 7.938 kB / 0.7395 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.3051, allocations: 85.56 kB / 0.7396 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3052, allocations: 0 / 0.7396 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.3052, allocations: 4 kB / 0.7396 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3052, allocations: 0 / 0.7396 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3053, allocations: 165.6 kB / 0.7397 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3053, allocations: 4 kB / 0.7397 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.874e-05/0.3054, allocations: 15.98 kB / 0.7398 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3055, allocations: 0 / 0.7398 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3055, allocations: 4 kB / 0.7398 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3055, allocations: 0 / 0.7398 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3055, allocations: 3.938 kB / 0.7398 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.3057, allocations: 120.9 kB / 0.7399 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.3057, allocations: 81.14 kB / 0.74 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3058, allocations: 8.062 kB / 0.74 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.3058, allocations: 192 / 0.74 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.3058, allocations: 7.984 kB / 0.74 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.3059, allocations: 8 kB / 0.74 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.3059, allocations: 75.28 kB / 0.74 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3059, allocations: 0 / 0.74 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00023/0.3062, allocations: 35.94 kB / 0.7401 GB, free: 2.734 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003094/0.3065, allocations: 155 kB / 0.7402 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.3066, allocations: 39.92 kB / 0.7403 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3066, allocations: 0 / 0.7403 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.178e-05/0.3067, allocations: 16 kB / 0.7403 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.3068, allocations: 17.42 kB / 0.7403 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.3072, allocations: 155.3 kB / 0.7404 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.3076, allocations: 0.6809 MB / 0.7411 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.711e-05/0.3076, allocations: 12.17 kB / 0.7411 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.3077, allocations: 11.44 kB / 0.7411 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of SimCode: time 1.265e-05/0.3077, allocations: 0 / 0.7411 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of Templates: time 0.002756/0.3105, allocations: 0.7378 MB / 0.7419 GB, free: 0.8984 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)