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.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.001525/0.001525, allocations: 114.2 kB / 17.13 MB, free: 5.934 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.001504/0.001504, allocations: 194 kB / 20.08 MB, free: 3 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.349/1.349, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.002238/0.002238, allocations: 286.8 kB / 303.6 MB, free: 3.738 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 0.9935/0.9935, allocations: 180.9 MB / 0.5268 GB, free: 2.723 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.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 0.00263/0.00263, allocations: 107.8 kB / 0.7259 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.4887, allocations: 94.16 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002136/0.4909, allocations: 1.447 MB / 0.8193 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003679/0.4912, allocations: 166.2 kB / 0.8194 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.4913, allocations: 1.688 kB / 0.8194 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.4913, allocations: 3.938 kB / 0.8194 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.304e-05/0.4913, allocations: 0 / 0.8194 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.4916, allocations: 37 kB / 0.8195 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.866e-05/0.4917, allocations: 26.88 kB / 0.8195 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.117e-05/0.4918, allocations: 3.734 kB / 0.8195 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.4918, allocations: 9.25 kB / 0.8195 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/0.4918, allocations: 15.31 kB / 0.8195 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.4918, allocations: 2.031 kB / 0.8195 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.492, allocations: 38.58 kB / 0.8196 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.492, allocations: 8.375 kB / 0.8196 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.492, allocations: 13.67 kB / 0.8196 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.4921, allocations: 44.98 kB / 0.8196 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4921, allocations: 0 / 0.8196 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4921, allocations: 0.625 kB / 0.8196 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.4921, allocations: 4 kB / 0.8196 GB, free: 6.238 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003563/0.4925, allocations: 347.5 kB / 0.82 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.4925, allocations: 10.03 kB / 0.82 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.4926, allocations: 2.188 kB / 0.82 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.677e-05/0.4926, allocations: 166.1 kB / 0.8201 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.4926, allocations: 1.438 kB / 0.8201 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.4926, allocations: 1.688 kB / 0.8201 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.4928, allocations: 55.3 kB / 0.8202 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4928, allocations: 1.125 kB / 0.8202 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.4928, allocations: 3.938 kB / 0.8202 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4928, allocations: 0.6875 kB / 0.8202 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.493, allocations: 35.8 kB / 0.8202 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.4932, allocations: 247.4 kB / 0.8205 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.4933, allocations: 46.47 kB / 0.8205 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.325e-05/0.4934, allocations: 24.44 kB / 0.8205 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.4935, allocations: 84.64 kB / 0.8206 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.4936, allocations: 31.41 kB / 0.8207 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4936, allocations: 0 / 0.8207 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003422/0.4939, allocations: 87.44 kB / 0.8207 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.4939, allocations: 52.12 kB / 0.8208 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.494, allocations: 100.7 kB / 0.8209 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.494, allocations: 25.7 kB / 0.8209 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.494, allocations: 88.61 kB / 0.821 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.494, allocations: 5.078 kB / 0.821 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.4941, allocations: 15.97 kB / 0.821 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.4941, allocations: 316 kB / 0.8213 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.4942, allocations: 15.58 kB / 0.8213 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.4942, allocations: 17.27 kB / 0.8213 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.4944, allocations: 41.38 kB / 0.8214 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4944, allocations: 4.062 kB / 0.8214 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.4946, allocations: 66.5 kB / 0.8214 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4946, allocations: 5.469 kB / 0.8215 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4946, allocations: 3.281 kB / 0.8215 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4946, allocations: 1.562 kB / 0.8215 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.4947, allocations: 8.531 kB / 0.8215 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4947, allocations: 3.984 kB / 0.8215 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.4947, allocations: 7.875 kB / 0.8215 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.4947, allocations: 4.875 kB / 0.8215 GB, free: 4.426 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 (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.185e-05/0.4948, allocations: 118.8 kB / 0.8216 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.4948, allocations: 5.297 kB / 0.8216 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.495, allocations: 71.81 kB / 0.8217 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.495, allocations: 0 / 0.8217 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.495, allocations: 1.219 kB / 0.8217 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.495, allocations: 32 / 0.8217 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.4951, allocations: 165.6 kB / 0.8218 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4951, allocations: 0 / 0.8218 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.4952, allocations: 9.469 kB / 0.8218 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.4952, allocations: 0 / 0.8218 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.4952, allocations: 1.156 kB / 0.8218 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4952, allocations: 3.281 kB / 0.8218 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4952, allocations: 1 kB / 0.8218 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.4954, allocations: 165.8 kB / 0.822 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.4954, allocations: 81.05 kB / 0.8221 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.4954, allocations: 1.531 kB / 0.8221 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.4955, allocations: 9.406 kB / 0.8221 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.4955, allocations: 2.797 kB / 0.8221 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.4955, allocations: 1.469 kB / 0.8221 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.985e-05/0.4956, allocations: 82.41 kB / 0.8222 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4956, allocations: 7.969 kB / 0.8222 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002229/0.4958, allocations: 9.906 kB / 0.8222 GB, free: 3.73 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 (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.0001866/0.496, allocations: 108.2 kB / 0.8223 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.4962, allocations: 46.52 kB / 0.8223 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4962, allocations: 4.062 kB / 0.8223 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.608e-05/0.4963, allocations: 18.2 kB / 0.8224 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.4966, allocations: 5.625 kB / 0.8224 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.4968, allocations: 129.3 kB / 0.8225 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.497, allocations: 0.6763 MB / 0.8231 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.497, allocations: 8.906 kB / 0.8232 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.497, allocations: 0 / 0.8232 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of Templates: time 0.002667/0.4996, allocations: 0.7782 MB / 0.8239 GB, free: 2.703 MB / 0.5762 GB " [Timeout remaining time 659] 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: 8.068524858215824] Failed to read output from testmodel.py, exit status != 0: 0.5067704559769481 0.5176866920000001 0.022715011 Calling exit ...