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.0009719/0.0009719, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001268/0.001268, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.565/1.565, allocations: 252 MB / 0.5102 GB, free: 4.75 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.0005531/0.0005532, allocations: 20 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6147/0.6153, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001944/0.6173, allocations: 1.149 MB / 0.7292 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003883/0.6177, allocations: 148.5 kB / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.6177, allocations: 3.938 kB / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.6178, allocations: 11.86 kB / 0.7294 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.232e-05/0.6178, allocations: 4 kB / 0.7294 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.6181, allocations: 31.91 kB / 0.7294 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.586e-05/0.6181, allocations: 15.92 kB / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.988e-05/0.6182, allocations: 4 kB / 0.7294 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.6183, allocations: 11.98 kB / 0.7295 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.546e-05/0.6183, allocations: 8 kB / 0.7295 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.6183, allocations: 0 / 0.7295 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.6185, allocations: 43.89 kB / 0.7295 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.6185, allocations: 7.922 kB / 0.7295 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.6185, allocations: 29.7 kB / 0.7295 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.644e-05/0.6186, allocations: 27.95 kB / 0.7296 GB, free: 9.898 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6186, allocations: 4 kB / 0.7296 GB, free: 9.895 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6186, allocations: 0 / 0.7296 GB, free: 9.895 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.6186, allocations: 0 / 0.7296 GB, free: 9.895 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.0005577/0.6192, allocations: 341.3 kB / 0.7299 GB, free: 9.516 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6192, allocations: 8.031 kB / 0.7299 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.6193, allocations: 4 kB / 0.7299 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.6194, allocations: 171 kB / 0.7301 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.6195, allocations: 4 kB / 0.7301 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.6195, allocations: 4 kB / 0.7301 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.6197, allocations: 57.67 kB / 0.7301 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.6197, allocations: 3.938 kB / 0.7301 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.6197, allocations: 0 / 0.7301 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6197, allocations: 0 / 0.7301 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.6199, allocations: 43.95 kB / 0.7302 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.6203, allocations: 256.8 kB / 0.7304 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.6204, allocations: 42.55 kB / 0.7305 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.6205, allocations: 32.91 kB / 0.7305 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.6207, allocations: 85.09 kB / 0.7306 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.6207, allocations: 34.5 kB / 0.7306 GB, free: 8.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6207, allocations: 3.938 kB / 0.7306 GB, free: 8.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003876/0.6211, allocations: 101.6 kB / 0.7307 GB, free: 8.539 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.6212, allocations: 51.41 kB / 0.7308 GB, free: 8.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.063e-05/0.6212, allocations: 97.84 kB / 0.7309 GB, free: 8.371 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.6213, allocations: 25.7 kB / 0.7309 GB, free: 8.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.6213, allocations: 88.12 kB / 0.731 GB, free: 8.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.6213, allocations: 12.03 kB / 0.731 GB, free: 8.238 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.6213, allocations: 0 / 0.731 GB, free: 8.238 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6215, allocations: 314.8 kB / 0.7313 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.963e-05/0.6216, allocations: 19.98 kB / 0.7313 GB, free: 7.902 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.6216, allocations: 23.92 kB / 0.7313 GB, free: 7.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.437e-05/0.6217, allocations: 35.97 kB / 0.7314 GB, free: 7.844 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6217, allocations: 0 / 0.7314 GB, free: 7.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002043/0.6219, allocations: 73.67 kB / 0.7314 GB, free: 7.766 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.622, allocations: 4 kB / 0.7314 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.622, allocations: 0 / 0.7314 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.622, allocations: 3.984 kB / 0.7314 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.6221, allocations: 8 kB / 0.7314 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.6221, allocations: 0 / 0.7314 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.6221, allocations: 11.98 kB / 0.7315 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.6221, allocations: 0 / 0.7315 GB, free: 7.738 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/0.6222, allocations: 121.8 kB / 0.7316 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.6223, allocations: 0 / 0.7316 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.6226, allocations: 84.62 kB / 0.7316 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6226, allocations: 4.031 kB / 0.7317 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.6226, allocations: 3.984 kB / 0.7317 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.6226, allocations: 0 / 0.7317 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.6228, allocations: 157.6 kB / 0.7318 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6228, allocations: 0 / 0.7318 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/0.6228, allocations: 15.98 kB / 0.7318 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6228, allocations: 4 kB / 0.7318 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.6229, allocations: 0 / 0.7318 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.6229, allocations: 0 / 0.7318 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6229, allocations: 0 / 0.7318 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.6231, allocations: 179.4 kB / 0.732 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.6233, allocations: 77.11 kB / 0.7321 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.6233, allocations: 7.938 kB / 0.7321 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.6233, allocations: 12.02 kB / 0.7321 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.6234, allocations: 8 kB / 0.7321 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.6234, allocations: 0 / 0.7321 GB, free: 6.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.6234, allocations: 83.27 kB / 0.7322 GB, free: 6.898 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6234, allocations: 0 / 0.7322 GB, free: 6.898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002298/0.6237, allocations: 12 kB / 0.7322 GB, free: 6.887 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 (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.0002043/0.6239, allocations: 107.2 kB / 0.7323 GB, free: 6.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.6241, allocations: 47.95 kB / 0.7323 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.6241, allocations: 0 / 0.7323 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.6242, allocations: 31.98 kB / 0.7324 GB, free: 6.691 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.6244, allocations: 3.953 kB / 0.7324 GB, free: 6.688 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.6247, allocations: 108.7 kB / 0.7325 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.6249, allocations: 0.6848 MB / 0.7331 GB, free: 5.848 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.625, allocations: 8.047 kB / 0.7332 GB, free: 5.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.625, allocations: 15.38 kB / 0.7332 GB, free: 5.824 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.625, allocations: 0 / 0.7332 GB, free: 5.824 MB / 0.545 GB Notification: Performance of Templates: time 0.002357/0.6274, allocations: 0.5665 MB / 0.7337 GB, free: 5.266 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: