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.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.001212/0.001212, allocations: 80.84 kB / 19.18 MB, free: 2.516 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.001356/0.001356, allocations: 159.4 kB / 22.46 MB, free: 5.375 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.404/1.404, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.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.002419/0.002419, allocations: 244.9 kB / 259.4 MB, free: 456 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 1.078/1.078, allocations: 138.4 MB / 454.3 MB, free: 2.004 MB / 366.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.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 1.233e-06/1.233e-06, allocations: 0 / 0.6468 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.061e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001447/0.001468, allocations: 0.6036 MB / 0.6474 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003233/0.001791, allocations: 87.62 kB / 0.6475 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.317e-06/0.0018, allocations: 0 / 0.6475 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.001815, allocations: 0 / 0.6475 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.00182, allocations: 4 kB / 0.6475 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.00215, allocations: 39.83 kB / 0.6476 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.29e-05/0.002183, allocations: 0 / 0.6476 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.234e-05/0.002215, allocations: 0 / 0.6476 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.837e-05/0.002233, allocations: 0 / 0.6476 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.545e-05/0.002249, allocations: 4 kB / 0.6476 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.002258, allocations: 0 / 0.6476 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.002394, allocations: 43.83 kB / 0.6476 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.542e-06/0.002401, allocations: 0 / 0.6476 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.959e-06/0.002411, allocations: 0 / 0.6476 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.002526, allocations: 39.88 kB / 0.6476 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002527, allocations: 4 kB / 0.6476 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002528, allocations: 0 / 0.6476 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.002531, allocations: 0 / 0.6476 GB, free: 4.152 MB / 0.5606 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.0002691/0.0028, allocations: 238.4 kB / 0.6479 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.002835, allocations: 9.344 kB / 0.6479 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.002874, allocations: 0.9375 kB / 0.6479 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.208e-05/0.002956, allocations: 109.8 kB / 0.648 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.002966, allocations: 384 / 0.648 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.002977, allocations: 4.312 kB / 0.648 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.084e-05/0.003058, allocations: 30.27 kB / 0.648 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.003066, allocations: 4.188 kB / 0.648 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.003075, allocations: 4.375 kB / 0.648 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.003078, allocations: 384 / 0.648 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.003094, allocations: 3.938 kB / 0.648 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.003201, allocations: 97.27 kB / 0.6481 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.616e-05/0.003247, allocations: 18.61 kB / 0.6481 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.003266, allocations: 10.09 kB / 0.6481 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.003422, allocations: 12.05 kB / 0.6482 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.003456, allocations: 38.5 kB / 0.6482 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.003457, allocations: 0 / 0.6482 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.003593, allocations: 41.67 kB / 0.6482 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.003629, allocations: 51.41 kB / 0.6483 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.783e-05/0.003676, allocations: 89.86 kB / 0.6484 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.003692, allocations: 25.7 kB / 0.6484 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.003724, allocations: 80.14 kB / 0.6485 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.003749, allocations: 4 kB / 0.6485 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.003779, allocations: 13.72 kB / 0.6485 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.003919, allocations: 314.8 kB / 0.6488 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.003928, allocations: 4 kB / 0.6488 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.003933, allocations: 4.062 kB / 0.6488 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.915e-05/0.003962, allocations: 16.91 kB / 0.6488 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.003964, allocations: 0 / 0.6488 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.404e-05/0.004028, allocations: 29.7 kB / 0.6488 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.004041, allocations: 4 kB / 0.6488 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.004045, allocations: 0 / 0.6488 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.004058, allocations: 4 kB / 0.6489 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.316e-05/0.004091, allocations: 4 kB / 0.6489 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.004095, allocations: 0 / 0.6489 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.004107, allocations: 3.938 kB / 0.6489 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.004111, allocations: 4.031 kB / 0.6489 GB, free: 2.73 MB / 0.5606 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 7.316e-05/0.004184, allocations: 113.8 kB / 0.649 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.004204, allocations: 3.984 kB / 0.649 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.314e-05/0.004277, allocations: 32.7 kB / 0.649 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.004278, allocations: 0 / 0.649 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.004281, allocations: 0 / 0.649 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.004284, allocations: 0 / 0.649 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.554e-05/0.004369, allocations: 109.2 kB / 0.6491 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.00437, allocations: 0 / 0.6491 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.004383, allocations: 4 kB / 0.6491 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.004384, allocations: 4.031 kB / 0.6491 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-06/0.004389, allocations: 0 / 0.6491 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.004392, allocations: 4 kB / 0.6491 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004392, allocations: 0 / 0.6491 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.631e-05/0.004479, allocations: 60.97 kB / 0.6492 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-06/0.004486, allocations: 11.92 kB / 0.6492 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-06/0.004493, allocations: 0 / 0.6492 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-06/0.0045, allocations: 3.938 kB / 0.6492 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.004513, allocations: 0 / 0.6492 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.004514, allocations: 0 / 0.6492 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.004551, allocations: 75.28 kB / 0.6493 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.004551, allocations: 4.031 kB / 0.6493 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001929/0.004744, allocations: 11.94 kB / 0.6493 GB, free: 2.234 MB / 0.5606 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.0001868/0.004931, allocations: 119.2 kB / 0.6494 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.622e-05/0.004987, allocations: 4 kB / 0.6494 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.004988, allocations: 0 / 0.6494 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-06/0.004998, allocations: 8 kB / 0.6494 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.005115, allocations: 4.062 kB / 0.6494 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/0.005299, allocations: 84.84 kB / 0.6495 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.941e-05/0.005338, allocations: 51.36 kB / 0.6495 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.925e-06/0.005346, allocations: 0 / 0.6495 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.005364, allocations: 16.5 kB / 0.6496 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.005365, allocations: 0 / 0.6496 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of Templates: time 0.002634/0.007999, allocations: 418.2 kB / 0.65 GB, free: 1.492 MB / 0.5606 GB " [Timeout remaining time 660] 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: 5.678213980048895] Failed to read output from testmodel.py, exit status != 0: 0.2676798366010189 0.276857126 0.272197205 Calling exit ...