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.0006921/0.0006921, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009577/0.00165, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007059/0.0007059, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008796/0.001585, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9327/0.9327, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0853/1.018, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.001486/0.001486, allocations: 237.8 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.002511, allocations: 471.3 kB / 244.7 MB, free: 14.18 MB / 250.7 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 0.6806/0.6806, allocations: 138.7 MB / 384.1 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07294/0.7536, allocations: 42.4 MB / 426.5 MB, free: 5.961 MB / 410.7 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.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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 427.8 MB, free: 4.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.375e-05, allocations: 2.312 kB / 427.8 MB, free: 4.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001706/0.001719, allocations: 1.557 MB / 429.4 MB, free: 3.062 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002172/0.001937, allocations: 152.3 kB / 429.5 MB, free: 2.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.00196, allocations: 0 / 429.5 MB, free: 2.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.001982, allocations: 3.938 kB / 429.5 MB, free: 2.906 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.131e-05/0.002003, allocations: 4 kB / 429.5 MB, free: 2.902 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.002207, allocations: 35.84 kB / 429.5 MB, free: 2.867 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.493e-05/0.002262, allocations: 23.86 kB / 429.6 MB, free: 2.844 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.828e-05/0.00233, allocations: 15.98 kB / 429.6 MB, free: 2.828 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.002375, allocations: 11.98 kB / 429.6 MB, free: 2.816 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.409e-05/0.00241, allocations: 7.984 kB / 429.6 MB, free: 2.809 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.002422, allocations: 0 / 429.6 MB, free: 2.809 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.00254, allocations: 43.91 kB / 429.6 MB, free: 2.766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.226e-06/0.002549, allocations: 3.938 kB / 429.7 MB, free: 2.762 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.28e-05/0.002561, allocations: 4 kB / 429.7 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.00267, allocations: 43.81 kB / 429.7 MB, free: 2.715 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.002682, allocations: 4 kB / 429.7 MB, free: 2.711 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.002682, allocations: 0 / 429.7 MB, free: 2.711 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.002694, allocations: 0 / 429.7 MB, free: 2.711 MB / 410.7 MB 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.0003016/0.002996, allocations: 240.6 kB / 429.9 MB, free: 2.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.003024, allocations: 15.98 kB / 430 MB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.273e-05/0.003097, allocations: 82.03 kB / 430 MB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.321e-05/0.00317, allocations: 113.7 kB / 430.1 MB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.003179, allocations: 384 / 430.1 MB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-06/0.003184, allocations: 384 / 430.1 MB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.977e-05/0.003274, allocations: 54.95 kB / 430.2 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.003282, allocations: 192 / 430.2 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.003287, allocations: 384 / 430.2 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.003292, allocations: 4.375 kB / 430.2 MB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.003314, allocations: 11.92 kB / 430.2 MB, free: 2.121 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.003476, allocations: 140.3 kB / 430.4 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.023e-05/0.003516, allocations: 30.55 kB / 430.4 MB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.114e-05/0.003527, allocations: 8.922 kB / 430.4 MB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.945e-05/0.003617, allocations: 4 kB / 430.4 MB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.003636, allocations: 30.56 kB / 430.4 MB, free: 1.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 6.72e-07/0.003636, allocations: 0 / 430.4 MB, free: 1.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000107/0.003743, allocations: 45.58 kB / 430.5 MB, free: 1.824 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.00377, allocations: 55.34 kB / 430.5 MB, free: 1.758 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.447e-05/0.003815, allocations: 110.8 kB / 430.6 MB, free: 1.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.003823, allocations: 29.7 kB / 430.7 MB, free: 1.602 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/0.003848, allocations: 88.14 kB / 430.7 MB, free: 1.512 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.003862, allocations: 3.953 kB / 430.7 MB, free: 1.508 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.003882, allocations: 13.72 kB / 430.8 MB, free: 1.488 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.004093, allocations: 318.8 kB / 431.1 MB, free: 1.168 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.004101, allocations: 4 kB / 431.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-06/0.004107, allocations: 0 / 431.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.974e-05/0.004126, allocations: 8.859 kB / 431.1 MB, free: 1.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.004129, allocations: 4 kB / 431.1 MB, free: 1.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.414e-05/0.004173, allocations: 45.62 kB / 431.1 MB, free: 1.098 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.004184, allocations: 8 kB / 431.1 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.004187, allocations: 0 / 431.1 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/0.004194, allocations: 0 / 431.1 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.975e-05/0.004244, allocations: 7.938 kB / 431.2 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.004247, allocations: 0 / 431.2 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.004262, allocations: 7.984 kB / 431.2 MB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-06/0.004265, allocations: 0 / 431.2 MB, free: 1.074 MB / 410.7 MB 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 4.195e-05/0.004307, allocations: 109.8 kB / 431.3 MB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.004324, allocations: 4 kB / 431.3 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.004375, allocations: 41.03 kB / 431.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.004376, allocations: 0 / 431.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.004379, allocations: 8.125 kB / 431.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.004381, allocations: 0 / 431.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.519e-05/0.004457, allocations: 73.81 kB / 431.4 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.004458, allocations: 0 / 431.4 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/0.004475, allocations: 4 kB / 431.4 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.004482, allocations: 11.98 kB / 431.4 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.004483, allocations: 0 / 431.4 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.004487, allocations: 4 kB / 431.4 MB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.004488, allocations: 4.031 kB / 431.4 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.00449, allocations: 3.938 kB / 431.4 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.469e-05/0.004554, allocations: 131.5 kB / 431.5 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-06/0.004561, allocations: 0 / 431.5 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.799e-05/0.004589, allocations: 7.984 kB / 431.6 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.004611, allocations: 0 / 431.6 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.004613, allocations: 4 kB / 431.6 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.985e-06/0.004621, allocations: 8.797 kB / 431.6 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004621, allocations: 0 / 431.6 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001323/0.004753, allocations: 19.92 kB / 431.6 MB, free: 0.5977 MB / 410.7 MB 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.0001058/0.004859, allocations: 96.39 kB / 431.7 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.031e-05/0.004909, allocations: 12.84 kB / 431.7 MB, free: 492 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.004914, allocations: 4 kB / 431.7 MB, free: 488 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.004927, allocations: 4.859 kB / 431.7 MB, free: 480 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.005044, allocations: 7.938 kB / 431.7 MB, free: 472 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.005338, allocations: 119.9 kB / 431.8 MB, free: 328 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.727e-05/0.005365, allocations: 55.34 kB / 431.9 MB, free: 252 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.449e-05/0.00538, allocations: 0 / 431.9 MB, free: 252 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.005413, allocations: 55.31 kB / 431.9 MB, free: 196 kB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.005413, allocations: 0 / 431.9 MB, free: 196 kB / 410.7 MB Notification: Performance of Templates: time 0.168/0.1734, allocations: 0.6967 MB / 432.6 MB, free: 2.754 MB / 410.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2317935107275844]