Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001394/0.001394, allocations: 200.2 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.313/1.313, allocations: 251.6 MB / 0.5089 GB, free: 3.266 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.89 kB / 0.6217 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4035, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002346/0.4059, allocations: 1.503 MB / 0.7254 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003227/0.4063, allocations: 160.3 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.4063, allocations: 0 / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.4063, allocations: 0 / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.379e-05/0.4064, allocations: 7.969 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.4067, allocations: 27.92 kB / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.4068, allocations: 27.92 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.4068, allocations: 0 / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.916e-05/0.4069, allocations: 11.94 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.8e-05/0.4069, allocations: 15.97 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.407, allocations: 4 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.4071, allocations: 43.91 kB / 0.7257 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.4071, allocations: 7.922 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.4071, allocations: 4 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.4073, allocations: 47.88 kB / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.4073, allocations: 0 / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4073, allocations: 0 / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.4073, allocations: 0 / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004632/0.4078, allocations: 353.4 kB / 0.7261 GB, free: 10.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4078, allocations: 8.031 kB / 0.7261 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.4079, allocations: 4.938 kB / 0.7261 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.408, allocations: 168.2 kB / 0.7263 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.408, allocations: 384 / 0.7263 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.4081, allocations: 4.375 kB / 0.7263 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.4082, allocations: 54.17 kB / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4083, allocations: 4.125 kB / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4083, allocations: 3.938 kB / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4083, allocations: 7.938 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.4084, allocations: 35.95 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.4088, allocations: 245 kB / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.4089, allocations: 42.44 kB / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.291e-05/0.409, allocations: 24.89 kB / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.4092, allocations: 85.09 kB / 0.7268 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.4092, allocations: 34.56 kB / 0.7268 GB, free: 10 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 4.208e-06/0.4092, allocations: 3.984 kB / 0.7268 GB, free: 10 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003276/0.4096, allocations: 81.73 kB / 0.7269 GB, free: 9.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.4096, allocations: 51.41 kB / 0.7269 GB, free: 9.852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.4097, allocations: 101.8 kB / 0.727 GB, free: 9.742 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.4097, allocations: 29.7 kB / 0.7271 GB, free: 9.707 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.4098, allocations: 80.14 kB / 0.7271 GB, free: 9.625 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.4098, allocations: 11.89 kB / 0.7272 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.4098, allocations: 13.72 kB / 0.7272 GB, free: 9.594 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.41, allocations: 314.8 kB / 0.7275 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.27e-05/0.4101, allocations: 20.02 kB / 0.7275 GB, free: 9.258 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/0.4101, allocations: 15.98 kB / 0.7275 GB, free: 9.242 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.4102, allocations: 36.81 kB / 0.7275 GB, free: 9.203 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4103, allocations: 0 / 0.7275 GB, free: 9.203 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001828/0.4104, allocations: 81.66 kB / 0.7276 GB, free: 9.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4105, allocations: 4 kB / 0.7276 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4105, allocations: 0 / 0.7276 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4105, allocations: 4 kB / 0.7276 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.033e-05/0.4106, allocations: 7.938 kB / 0.7276 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4106, allocations: 3.984 kB / 0.7276 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.4106, allocations: 7.906 kB / 0.7276 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.4107, allocations: 0 / 0.7276 GB, free: 9.09 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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 9.417e-05/0.4108, allocations: 117.8 kB / 0.7278 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.4108, allocations: 0 / 0.7278 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.411, allocations: 72.77 kB / 0.7278 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.411, allocations: 4 kB / 0.7278 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.411, allocations: 0 / 0.7278 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.411, allocations: 0 / 0.7278 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.4112, allocations: 157.6 kB / 0.728 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4112, allocations: 0 / 0.728 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.4112, allocations: 19.95 kB / 0.728 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4112, allocations: 3.938 kB / 0.728 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.4113, allocations: 0 / 0.728 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4113, allocations: 0 / 0.728 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4113, allocations: 3.938 kB / 0.728 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.4115, allocations: 163.5 kB / 0.7282 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.4115, allocations: 81.14 kB / 0.7282 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.4115, allocations: 0 / 0.7282 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.4116, allocations: 7.984 kB / 0.7282 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.4117, allocations: 4 kB / 0.7283 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.4117, allocations: 0 / 0.7283 GB, free: 8.371 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.736e-05/0.4117, allocations: 87.27 kB / 0.7283 GB, free: 8.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4117, allocations: 0 / 0.7283 GB, free: 8.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002121/0.4119, allocations: 8 kB / 0.7283 GB, free: 8.277 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001793/0.4121, allocations: 119.2 kB / 0.7285 GB, free: 8.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.4123, allocations: 39.91 kB / 0.7285 GB, free: 8.109 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4123, allocations: 0 / 0.7285 GB, free: 8.109 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.4124, allocations: 15.98 kB / 0.7285 GB, free: 8.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.4126, allocations: 16.05 kB / 0.7285 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.4129, allocations: 105.4 kB / 0.7286 GB, free: 7.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.4132, allocations: 0.6768 MB / 0.7293 GB, free: 7.246 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.148e-05/0.4132, allocations: 3.984 kB / 0.7293 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.4132, allocations: 7.438 kB / 0.7293 GB, free: 7.234 MB / 0.545 GB Notification: Performance of SimCode: time 1.8e-07/0.4132, allocations: 0 / 0.7293 GB, free: 7.234 MB / 0.545 GB Notification: Performance of Templates: time 0.002173/0.4154, allocations: 0.6063 MB / 0.7299 GB, free: 6.637 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)