Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002265/0.002265, allocations: 273.6 kB / 303.6 MB, free: 3.672 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 180.9 MB / 0.5268 GB, free: 2.711 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 99.84 kB / 0.726 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.4963, allocations: 94.16 MB / 0.8179 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001481/0.4977, allocations: 0.5818 MB / 0.8185 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003023/0.4981, allocations: 107.7 kB / 0.8186 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.019e-05/0.4981, allocations: 1.031 kB / 0.8186 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.051e-05/0.4981, allocations: 0 / 0.8186 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.4981, allocations: 0 / 0.8186 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.4984, allocations: 32.92 kB / 0.8186 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.824e-05/0.4984, allocations: 5.219 kB / 0.8186 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.4984, allocations: 5.344 kB / 0.8186 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.518e-05/0.4985, allocations: 0 / 0.8186 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.565e-05/0.4985, allocations: 1.281 kB / 0.8186 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.882e-06/0.4985, allocations: 4 kB / 0.8186 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.4986, allocations: 42.36 kB / 0.8187 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.4986, allocations: 1.438 kB / 0.8187 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.232e-05/0.4986, allocations: 0 / 0.8187 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.791e-05/0.4987, allocations: 34.39 kB / 0.8187 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4987, allocations: 0 / 0.8187 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4987, allocations: 0.9688 kB / 0.8187 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.4987, allocations: 0 / 0.8187 GB, free: 6.961 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002079/0.4989, allocations: 318.4 kB / 0.819 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.499, allocations: 10.12 kB / 0.819 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.499, allocations: 4.938 kB / 0.819 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.022e-05/0.4991, allocations: 163.8 kB / 0.8192 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-06/0.4991, allocations: 1.188 kB / 0.8192 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.4991, allocations: 1.5 kB / 0.8192 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.457e-05/0.4992, allocations: 27.7 kB / 0.8192 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4992, allocations: 192 / 0.8192 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.4992, allocations: 8.938 kB / 0.8192 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.4992, allocations: 0 / 0.8192 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.425e-05/0.4992, allocations: 0.9062 kB / 0.8192 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.522e-05/0.4993, allocations: 159.3 kB / 0.8194 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 2.875e-05/0.4993, allocations: 15.67 kB / 0.8194 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.205e-05/0.4993, allocations: 5.953 kB / 0.8194 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.4995, allocations: 84.55 kB / 0.8195 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.4995, allocations: 35.84 kB / 0.8195 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.4995, allocations: 0 / 0.8195 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001142/0.4996, allocations: 49.81 kB / 0.8195 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.4996, allocations: 51.41 kB / 0.8196 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.417e-05/0.4997, allocations: 89.86 kB / 0.8197 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.14e-06/0.4997, allocations: 25.7 kB / 0.8197 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.486e-06/0.4997, allocations: 81.33 kB / 0.8198 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.4997, allocations: 3.953 kB / 0.8198 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/0.4997, allocations: 16.44 kB / 0.8198 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.648e-05/0.4998, allocations: 310.8 kB / 0.8201 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.4998, allocations: 5.031 kB / 0.8201 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.4998, allocations: 1 kB / 0.8201 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.043e-05/0.4998, allocations: 11.28 kB / 0.8201 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4998, allocations: 0 / 0.8201 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.962e-05/0.4998, allocations: 39.02 kB / 0.8202 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4999, allocations: 4.969 kB / 0.8202 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4999, allocations: 0.7812 kB / 0.8202 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4999, allocations: 3.938 kB / 0.8202 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.129e-05/0.4999, allocations: 1.812 kB / 0.8202 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.4999, allocations: 5.031 kB / 0.8202 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-06/0.4999, allocations: 3.469 kB / 0.8202 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.4999, allocations: 0.75 kB / 0.8202 GB, free: 5.289 MB / 0.5762 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 (1): * Single equations (assignments): 1 * 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.522e-05/0.5, allocations: 111.1 kB / 0.8203 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.5, allocations: 0.9062 kB / 0.8203 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.5, allocations: 36.77 kB / 0.8203 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5, allocations: 4.156 kB / 0.8203 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5, allocations: 0 / 0.8203 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.5, allocations: 4.031 kB / 0.8203 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.053e-05/0.5001, allocations: 146.6 kB / 0.8205 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5001, allocations: 8.938 kB / 0.8205 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.117e-05/0.5001, allocations: 1.938 kB / 0.8205 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.5001, allocations: 0 / 0.8205 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.5001, allocations: 12.25 kB / 0.8205 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.5001, allocations: 0 / 0.8205 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5001, allocations: 0 / 0.8205 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.243e-05/0.5001, allocations: 59.33 kB / 0.8205 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.5002, allocations: 85.36 kB / 0.8206 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.5002, allocations: 5 kB / 0.8206 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-06/0.5002, allocations: 0 / 0.8206 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.5002, allocations: 1.031 kB / 0.8206 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.5002, allocations: 0 / 0.8206 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.187e-05/0.5002, allocations: 80.28 kB / 0.8207 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.5002, allocations: 0 / 0.8207 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001924/0.5004, allocations: 7.188 kB / 0.8207 GB, free: 4.676 MB / 0.5762 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 (1): * Single equations (assignments): 1 * 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.0001476/0.5005, allocations: 120.3 kB / 0.8208 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.628e-05/0.5006, allocations: 7.781 kB / 0.8208 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5006, allocations: 0 / 0.8208 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.232e-06/0.5006, allocations: 1.969 kB / 0.8208 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.5007, allocations: 1.906 kB / 0.8208 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001405/0.5009, allocations: 118.2 kB / 0.821 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.155e-05/0.501, allocations: 0.6702 MB / 0.8216 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.027e-05/0.501, allocations: 7.438 kB / 0.8216 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.501, allocations: 0 / 0.8216 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of Templates: time 0.001841/0.5028, allocations: 0.5576 MB / 0.8222 GB, free: 3.691 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.02564025693573] Failed to read output from testmodel.py, exit status != 0: 0.5100597550626844 0.520236723 0.018682641 Calling exit ...