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.001364/0.001364, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001664/0.001664, allocations: 213.6 kB / 22.24 MB, free: 5.262 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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.002677/0.002677, allocations: 281.8 kB / 312.7 MB, free: 2.621 MB / 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 1.245/1.245, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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 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.002873/0.002873, allocations: 112.3 kB / 0.74 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1765, allocations: 95.36 MB / 0.8331 GB, free: 7.828 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002688/0.1791, allocations: 1.467 MB / 0.8346 GB, free: 6.348 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0004495/0.1796, allocations: 148.3 kB / 0.8347 GB, free: 6.199 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.1796, allocations: 4 kB / 0.8347 GB, free: 6.195 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.1796, allocations: 0 / 0.8347 GB, free: 6.195 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 3.821e-05/0.1797, allocations: 3.938 kB / 0.8347 GB, free: 6.191 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.18, allocations: 35.91 kB / 0.8347 GB, free: 6.156 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.092e-05/0.1801, allocations: 35.91 kB / 0.8348 GB, free: 6.121 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.1802, allocations: 3.984 kB / 0.8348 GB, free: 6.117 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 2.476e-05/0.1802, allocations: 8 kB / 0.8348 GB, free: 6.109 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.1803, allocations: 11.92 kB / 0.8348 GB, free: 6.098 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1803, allocations: 0 / 0.8348 GB, free: 6.098 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1804, allocations: 39.91 kB / 0.8348 GB, free: 6.059 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.1804, allocations: 0 / 0.8348 GB, free: 6.059 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.1804, allocations: 15.91 kB / 0.8349 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.1806, allocations: 47.83 kB / 0.8349 GB, free: 5.996 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1806, allocations: 0 / 0.8349 GB, free: 5.996 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1806, allocations: 0 / 0.8349 GB, free: 5.996 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.1806, allocations: 4 kB / 0.8349 GB, free: 5.992 MB / 0.5763 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.000464/0.1811, allocations: 266.3 kB / 0.8352 GB, free: 5.699 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1811, allocations: 9.344 kB / 0.8352 GB, free: 5.691 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.1811, allocations: 4.891 kB / 0.8352 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1813, allocations: 114.5 kB / 0.8353 GB, free: 5.551 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1813, allocations: 384 / 0.8353 GB, free: 5.551 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.1813, allocations: 4.375 kB / 0.8353 GB, free: 5.547 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1815, allocations: 54.16 kB / 0.8353 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1815, allocations: 192 / 0.8353 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1815, allocations: 15.94 kB / 0.8354 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1815, allocations: 0 / 0.8354 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.1817, allocations: 27.97 kB / 0.8354 GB, free: 5.445 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.182, allocations: 192.6 kB / 0.8356 GB, free: 5.227 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.1821, allocations: 38.5 kB / 0.8356 GB, free: 5.18 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.112e-05/0.1822, allocations: 24.91 kB / 0.8356 GB, free: 5.152 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.1824, allocations: 19.86 kB / 0.8356 GB, free: 5.133 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1824, allocations: 30.56 kB / 0.8357 GB, free: 5.094 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.1824, allocations: 0 / 0.8357 GB, free: 5.094 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0003727/0.1828, allocations: 81.64 kB / 0.8357 GB, free: 5.008 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.1828, allocations: 51.41 kB / 0.8358 GB, free: 4.945 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/0.1829, allocations: 105.8 kB / 0.8359 GB, free: 4.832 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1829, allocations: 25.7 kB / 0.8359 GB, free: 4.801 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.183, allocations: 84.22 kB / 0.836 GB, free: 4.715 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.183, allocations: 7.953 kB / 0.836 GB, free: 4.707 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.183, allocations: 21.66 kB / 0.836 GB, free: 4.68 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.1832, allocations: 314.8 kB / 0.8363 GB, free: 4.363 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/0.1832, allocations: 23.92 kB / 0.8364 GB, free: 4.34 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.1833, allocations: 11.98 kB / 0.8364 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.1835, allocations: 40.81 kB / 0.8364 GB, free: 4.285 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1835, allocations: 4.062 kB / 0.8364 GB, free: 4.281 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002044/0.1837, allocations: 61.61 kB / 0.8365 GB, free: 4.215 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1837, allocations: 8 kB / 0.8365 GB, free: 4.207 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1837, allocations: 0 / 0.8365 GB, free: 4.207 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1837, allocations: 0 / 0.8365 GB, free: 4.207 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.971e-05/0.1838, allocations: 11.98 kB / 0.8365 GB, free: 4.195 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1838, allocations: 7.938 kB / 0.8365 GB, free: 4.188 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.1838, allocations: 7.984 kB / 0.8365 GB, free: 4.18 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.1839, allocations: 8.031 kB / 0.8365 GB, free: 4.172 MB / 0.5763 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 8.542e-05/0.1839, allocations: 106.5 kB / 0.8366 GB, free: 4.059 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.184, allocations: 7.938 kB / 0.8366 GB, free: 4.051 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.1842, allocations: 68.97 kB / 0.8367 GB, free: 3.973 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1842, allocations: 0 / 0.8367 GB, free: 3.973 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1842, allocations: 0 / 0.8367 GB, free: 3.973 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1842, allocations: 0 / 0.8367 GB, free: 3.973 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.1844, allocations: 101.3 kB / 0.8368 GB, free: 3.844 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1844, allocations: 8.031 kB / 0.8368 GB, free: 3.836 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.1844, allocations: 11.98 kB / 0.8368 GB, free: 3.824 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1844, allocations: 3.938 kB / 0.8368 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1844, allocations: 0 / 0.8368 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1844, allocations: 0 / 0.8368 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1844, allocations: 3.938 kB / 0.8368 GB, free: 3.816 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.1847, allocations: 163.5 kB / 0.837 GB, free: 3.641 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.1847, allocations: 3.938 kB / 0.837 GB, free: 3.637 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1847, allocations: 4.031 kB / 0.837 GB, free: 3.633 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.633e-05/0.1848, allocations: 11.98 kB / 0.837 GB, free: 3.621 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.1848, allocations: 0 / 0.837 GB, free: 3.621 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1848, allocations: 4 kB / 0.837 GB, free: 3.617 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.601e-05/0.1849, allocations: 83.39 kB / 0.8371 GB, free: 3.535 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1849, allocations: 4 kB / 0.8371 GB, free: 3.531 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002361/0.1851, allocations: 11.94 kB / 0.8371 GB, free: 3.52 MB / 0.5763 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.0001657/0.1853, allocations: 107.3 kB / 0.8372 GB, free: 3.402 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.1855, allocations: 47.89 kB / 0.8372 GB, free: 3.355 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.1855, allocations: 0 / 0.8372 GB, free: 3.355 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/0.1856, allocations: 11.98 kB / 0.8372 GB, free: 3.344 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.1858, allocations: 4 kB / 0.8372 GB, free: 3.34 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.1861, allocations: 111.4 kB / 0.8374 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.854e-05/0.1862, allocations: 67.33 kB / 0.8374 GB, free: 3.121 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.1862, allocations: 7.906 kB / 0.8374 GB, free: 3.113 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.1862, allocations: 7.438 kB / 0.8374 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of SimCode: time 3.51e-07/0.1862, allocations: 0 / 0.8374 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of Templates: time 0.003173/0.1894, allocations: 0.6863 MB / 0.8381 GB, free: 2.43 MB / 0.5763 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.220733482390642] Failed to read output from testmodel.py, exit status != 0: 0.1970478892326355 0.21332250700000002 0.029508277000000003 Calling exit ...