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.001059/0.001059, allocations: 101.6 kB / 16.27 MB, free: 5.934 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.001031/0.001031, allocations: 186.9 kB / 17.2 MB, free: 5.574 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8194/0.8194, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.89 kB / 0.4911 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.395, allocations: 77.92 MB / 0.5672 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001935/0.3969, allocations: 0.5934 MB / 0.5678 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003961/0.3974, allocations: 151.7 kB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.3974, allocations: 2.938 kB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.3974, allocations: 5.062 kB / 0.5679 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.677e-05/0.3974, allocations: 0 / 0.5679 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.3978, allocations: 46.09 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.3978, allocations: 16.25 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.3979, allocations: 2.188 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.084e-05/0.3979, allocations: 4.562 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.398, allocations: 14.56 kB / 0.568 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.398, allocations: 5.062 kB / 0.568 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.3981, allocations: 32.58 kB / 0.5681 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.3981, allocations: 2.75 kB / 0.5681 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.3981, allocations: 3.656 kB / 0.5681 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.3982, allocations: 42.45 kB / 0.5681 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3983, allocations: 2.375 kB / 0.5681 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3983, allocations: 0 / 0.5681 GB, free: 32.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.3983, allocations: 0 / 0.5681 GB, free: 32.25 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.0003125/0.3986, allocations: 332.1 kB / 0.5684 GB, free: 31.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3986, allocations: 10.78 kB / 0.5684 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.3987, allocations: 6.094 kB / 0.5684 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.102e-05/0.3988, allocations: 164 kB / 0.5686 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3988, allocations: 2.938 kB / 0.5686 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3988, allocations: 1.656 kB / 0.5686 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.697e-05/0.3989, allocations: 42.5 kB / 0.5686 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3989, allocations: 1.844 kB / 0.5686 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3989, allocations: 9.188 kB / 0.5686 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3989, allocations: 0 / 0.5686 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.399, allocations: 12.08 kB / 0.5687 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.3991, allocations: 162.6 kB / 0.5688 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.3992, allocations: 48.12 kB / 0.5689 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.3993, allocations: 19.14 kB / 0.5689 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.202e-05/0.3994, allocations: 86.81 kB / 0.569 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.3994, allocations: 32.41 kB / 0.569 GB, free: 31.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.3994, allocations: 0 / 0.569 GB, free: 31.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001161/0.4006, allocations: 498.6 kB / 0.5695 GB, free: 30.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.4006, allocations: 53.78 kB / 0.5695 GB, free: 30.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.869e-05/0.4006, allocations: 93.5 kB / 0.5696 GB, free: 30.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.4007, allocations: 26.86 kB / 0.5696 GB, free: 30.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.502e-05/0.4007, allocations: 80.14 kB / 0.5697 GB, free: 30.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.4007, allocations: 23.38 kB / 0.5697 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.4008, allocations: 21.11 kB / 0.5698 GB, free: 30.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.354e-05/0.4008, allocations: 317 kB / 0.5701 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.4008, allocations: 13.11 kB / 0.5701 GB, free: 30.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.4009, allocations: 9.906 kB / 0.5701 GB, free: 30.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.171e-05/0.4009, allocations: 36.94 kB / 0.5701 GB, free: 30.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.401, allocations: 0 / 0.5701 GB, free: 30.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001111/0.4011, allocations: 83.56 kB / 0.5702 GB, free: 30.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4011, allocations: 16.75 kB / 0.5702 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4011, allocations: 0.6562 kB / 0.5702 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.4011, allocations: 1.156 kB / 0.5702 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.4012, allocations: 13.27 kB / 0.5702 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4012, allocations: 0.9688 kB / 0.5702 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.4012, allocations: 4.906 kB / 0.5702 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.4013, allocations: 2.188 kB / 0.5702 GB, free: 30.15 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.027e-05/0.4013, allocations: 112.9 kB / 0.5703 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.4013, allocations: 5.062 kB / 0.5703 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.4015, allocations: 88.75 kB / 0.5704 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4015, allocations: 2.781 kB / 0.5704 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4015, allocations: 0 / 0.5704 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4015, allocations: 2.609 kB / 0.5704 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.198e-05/0.4016, allocations: 162.8 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4016, allocations: 0.625 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.4017, allocations: 14.06 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4017, allocations: 4.734 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.4017, allocations: 5.219 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4017, allocations: 7.391 kB / 0.5706 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4018, allocations: 4 kB / 0.5706 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.4019, allocations: 120.4 kB / 0.5707 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.402, allocations: 83.19 kB / 0.5708 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.402, allocations: 4 kB / 0.5708 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.402, allocations: 3.234 kB / 0.5708 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.402, allocations: 6.016 kB / 0.5708 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.4021, allocations: 1.688 kB / 0.5708 GB, free: 29.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.798e-05/0.4021, allocations: 79.88 kB / 0.5709 GB, free: 29.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4021, allocations: 0 / 0.5709 GB, free: 29.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.4023, allocations: 32.16 kB / 0.5709 GB, free: 29.48 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.0001767/0.4025, allocations: 131.3 kB / 0.5711 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.4026, allocations: 45.61 kB / 0.5711 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4026, allocations: 0 / 0.5711 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.57e-05/0.4027, allocations: 25.97 kB / 0.5711 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.4028, allocations: 3.062 kB / 0.5711 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.4031, allocations: 137.2 kB / 0.5713 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.4032, allocations: 0.6827 MB / 0.5719 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.7e-05/0.4033, allocations: 11.86 kB / 0.5719 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.4033, allocations: 15.84 kB / 0.572 GB, free: 28.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4033, allocations: 0 / 0.572 GB, free: 28.54 MB / 446.1 MB Notification: Performance of Templates: time 0.004536/0.4078, allocations: 0.8695 MB / 0.5728 GB, free: 28.49 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)