Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 79.75 kB / 19.76 MB, free: 2.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 156.5 kB / 23 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.327/1.327, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002323/0.002323, allocations: 237.8 kB / 260 MB, free: 444 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8848/0.8848, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002987/0.002987, allocations: 107.8 kB / 0.6473 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3726, allocations: 95.35 MB / 0.7405 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00213/0.3748, allocations: 1.447 MB / 0.7419 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0003776/0.3751, allocations: 169.9 kB / 0.742 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.3752, allocations: 0 / 0.742 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.3752, allocations: 0.6094 kB / 0.742 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.584e-05/0.3752, allocations: 4.969 kB / 0.742 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.3755, allocations: 35.23 kB / 0.7421 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.051e-05/0.3756, allocations: 18.42 kB / 0.7421 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.823e-05/0.3756, allocations: 12.56 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.3756, allocations: 5.375 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.187e-05/0.3757, allocations: 12.06 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.3757, allocations: 6.25 kB / 0.7421 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3758, allocations: 37.66 kB / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.3758, allocations: 4.75 kB / 0.7422 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.3758, allocations: 15.92 kB / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.376, allocations: 45.09 kB / 0.7422 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.376, allocations: 1 kB / 0.7422 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.376, allocations: 0 / 0.7422 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.376, allocations: 0 / 0.7422 GB, free: 16.25 MB / 0.5919 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.0003241/0.3763, allocations: 270.8 kB / 0.7425 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.3763, allocations: 11.23 kB / 0.7425 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.3764, allocations: 11.17 kB / 0.7425 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.007e-05/0.3764, allocations: 105.9 kB / 0.7426 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3764, allocations: 1.5 kB / 0.7426 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.3764, allocations: 1.5 kB / 0.7426 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3766, allocations: 53.16 kB / 0.7427 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.3766, allocations: 192 / 0.7427 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.3766, allocations: 4.594 kB / 0.7427 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3766, allocations: 5.156 kB / 0.7427 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.3768, allocations: 36.03 kB / 0.7427 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.377, allocations: 191.4 kB / 0.7429 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.3771, allocations: 40.16 kB / 0.7429 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/0.3772, allocations: 19.11 kB / 0.7429 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.3773, allocations: 15.2 kB / 0.743 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.3773, allocations: 33.55 kB / 0.743 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.542e-06/0.3773, allocations: 3.984 kB / 0.743 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0003334/0.3776, allocations: 84.27 kB / 0.7431 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.3777, allocations: 52.38 kB / 0.7431 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.314e-05/0.3777, allocations: 96.98 kB / 0.7432 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.3777, allocations: 26.27 kB / 0.7432 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.806e-05/0.3777, allocations: 90.91 kB / 0.7433 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.3777, allocations: 9.484 kB / 0.7433 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.3778, allocations: 16.56 kB / 0.7433 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.1e-05/0.3778, allocations: 316.8 kB / 0.7437 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.3779, allocations: 22.94 kB / 0.7437 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.3779, allocations: 18.33 kB / 0.7437 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.3781, allocations: 36.31 kB / 0.7437 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3781, allocations: 0 / 0.7437 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001898/0.3783, allocations: 72 kB / 0.7438 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.3783, allocations: 6.031 kB / 0.7438 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.3783, allocations: 0 / 0.7438 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3783, allocations: 1.188 kB / 0.7438 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.3784, allocations: 8.703 kB / 0.7438 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3784, allocations: 4.688 kB / 0.7438 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.3784, allocations: 10.27 kB / 0.7438 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-06/0.3784, allocations: 1.562 kB / 0.7438 GB, free: 14.76 MB / 0.5919 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 3.495e-05/0.3785, allocations: 111.6 kB / 0.7439 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/0.3785, allocations: 6.125 kB / 0.7439 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.3787, allocations: 74.88 kB / 0.744 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3787, allocations: 1.469 kB / 0.744 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3787, allocations: 0 / 0.744 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3787, allocations: 0.7031 kB / 0.744 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.282e-05/0.3788, allocations: 104.1 kB / 0.7441 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3788, allocations: 1.562 kB / 0.7441 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.3788, allocations: 8.984 kB / 0.7441 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3789, allocations: 3.938 kB / 0.7441 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.3789, allocations: 4.031 kB / 0.7441 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3789, allocations: 1.766 kB / 0.7441 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3789, allocations: 3.938 kB / 0.7441 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.3791, allocations: 163.6 kB / 0.7443 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.3791, allocations: 14.12 kB / 0.7443 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.3791, allocations: 2.031 kB / 0.7443 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.3792, allocations: 5.641 kB / 0.7443 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.3792, allocations: 2.594 kB / 0.7443 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3792, allocations: 4.734 kB / 0.7443 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.955e-05/0.3792, allocations: 84.19 kB / 0.7444 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.3792, allocations: 0 / 0.7444 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002287/0.3794, allocations: 10.34 kB / 0.7444 GB, free: 14.22 MB / 0.5919 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.0001146/0.3795, allocations: 111.3 kB / 0.7445 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.3797, allocations: 43.67 kB / 0.7446 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3797, allocations: 0 / 0.7446 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.579e-05/0.3798, allocations: 19.84 kB / 0.7446 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.3801, allocations: 4.203 kB / 0.7446 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001932/0.3803, allocations: 104.1 kB / 0.7447 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.069e-05/0.3803, allocations: 59.31 kB / 0.7447 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.942e-05/0.3803, allocations: 6.578 kB / 0.7447 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.3803, allocations: 14.28 kB / 0.7448 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.3803, allocations: 0 / 0.7448 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.002814/0.3831, allocations: 0.6715 MB / 0.7454 GB, free: 13.81 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.311709058005363] Failed to read output from testmodel.py, exit status != 0: 0.38999920210335404 0.39995533200000005 0.021683281000000002 Calling exit ...