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.0008061/0.0008061, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007563/0.0007563, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8642/0.8642, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001471/0.001471, allocations: 233.7 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6305/0.6305, allocations: 138.4 MB / 454.3 MB, free: 1.621 MB / 362.7 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.6464 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.143e-05, allocations: 6.219 kB / 0.6464 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001188/0.00121, allocations: 0.5822 MB / 0.6469 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002805/0.00149, allocations: 92.39 kB / 0.647 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.331e-05/0.001504, allocations: 0 / 0.647 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.001518, allocations: 5.344 kB / 0.647 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.001525, allocations: 0 / 0.647 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.001914, allocations: 40.92 kB / 0.6471 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 3.755e-05/0.001952, allocations: 5.375 kB / 0.6471 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.001986, allocations: 1.094 kB / 0.6471 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.068e-05/0.002007, allocations: 0 / 0.6471 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 1.531e-05/0.002022, allocations: 1.188 kB / 0.6471 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.002033, allocations: 0 / 0.6471 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.002144, allocations: 35.86 kB / 0.6471 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.002153, allocations: 1.406 kB / 0.6471 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.274e-05/0.002166, allocations: 3.984 kB / 0.6471 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.987e-05/0.002255, allocations: 37.28 kB / 0.6471 GB, free: 28.38 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.002257, allocations: 0 / 0.6471 GB, free: 28.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.11e-07/0.002258, allocations: 0 / 0.6471 GB, free: 28.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.002261, allocations: 1.406 kB / 0.6471 GB, free: 28.38 MB / 0.5105 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.0001557/0.002417, allocations: 238.4 kB / 0.6474 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.002451, allocations: 15 kB / 0.6474 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.865e-05/0.00247, allocations: 30.75 kB / 0.6474 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.002503, allocations: 2.125 kB / 0.6474 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.208e-05/0.002535, allocations: 107.2 kB / 0.6475 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.002544, allocations: 384 / 0.6475 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.00255, allocations: 1.438 kB / 0.6475 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.667e-05/0.002616, allocations: 35.55 kB / 0.6476 GB, free: 27.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.002623, allocations: 8.172 kB / 0.6476 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.00263, allocations: 1.781 kB / 0.6476 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.002634, allocations: 4.125 kB / 0.6476 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.632e-05/0.00265, allocations: 5.25 kB / 0.6476 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.029e-05/0.002731, allocations: 115.3 kB / 0.6477 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.929e-05/0.00276, allocations: 19.77 kB / 0.6477 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.175e-05/0.002772, allocations: 6.047 kB / 0.6477 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.002914, allocations: 13.2 kB / 0.6477 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.12e-05/0.002925, allocations: 35.94 kB / 0.6478 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.002926, allocations: 0 / 0.6478 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001077/0.003034, allocations: 34.64 kB / 0.6478 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/0.003052, allocations: 59.33 kB / 0.6478 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.031e-05/0.003063, allocations: 91.11 kB / 0.6479 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-06/0.003067, allocations: 25.7 kB / 0.648 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-06/0.003073, allocations: 80.14 kB / 0.648 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.003093, allocations: 1.125 kB / 0.648 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.003111, allocations: 11.16 kB / 0.648 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.538e-05/0.003136, allocations: 311.9 kB / 0.6483 GB, free: 27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-06/0.003143, allocations: 5.438 kB / 0.6484 GB, free: 27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.88e-06/0.003148, allocations: 5.219 kB / 0.6484 GB, free: 27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.86e-05/0.003166, allocations: 11.67 kB / 0.6484 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.003168, allocations: 0 / 0.6484 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.068e-05/0.003198, allocations: 34.81 kB / 0.6484 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.003209, allocations: 7.438 kB / 0.6484 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.003213, allocations: 3.984 kB / 0.6484 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.003224, allocations: 1.875 kB / 0.6484 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.988e-05/0.003253, allocations: 0 / 0.6484 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.003259, allocations: 5.375 kB / 0.6484 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-06/0.003266, allocations: 4 kB / 0.6484 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.003271, allocations: 5.125 kB / 0.6484 GB, free: 26.93 MB / 0.5105 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 2.998e-05/0.0033, allocations: 107.7 kB / 0.6485 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.003309, allocations: 5.125 kB / 0.6485 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.881e-05/0.003358, allocations: 44.45 kB / 0.6486 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.00336, allocations: 1.219 kB / 0.6486 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.003364, allocations: 3.938 kB / 0.6486 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.003366, allocations: 0 / 0.6486 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.346e-05/0.0034, allocations: 118.1 kB / 0.6487 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.0034, allocations: 5.125 kB / 0.6487 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-06/0.003405, allocations: 5.203 kB / 0.6487 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.003406, allocations: 1.438 kB / 0.6487 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.003412, allocations: 0 / 0.6487 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-07/0.003412, allocations: 0 / 0.6487 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.003414, allocations: 5.281 kB / 0.6487 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.44e-05/0.003448, allocations: 58.77 kB / 0.6488 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-06/0.003451, allocations: 5.391 kB / 0.6488 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-06/0.003459, allocations: 9.016 kB / 0.6488 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-06/0.003463, allocations: 4 kB / 0.6488 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.003474, allocations: 9.688 kB / 0.6488 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.91e-07/0.003475, allocations: 0 / 0.6488 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.975e-06/0.003483, allocations: 75.28 kB / 0.6489 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.003483, allocations: 1.438 kB / 0.6489 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001273/0.003611, allocations: 11 kB / 0.6489 GB, free: 26.43 MB / 0.5105 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.0001756/0.003786, allocations: 0.5953 MB / 0.6495 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 4.994e-05/0.003836, allocations: 16.17 kB / 0.6495 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.003837, allocations: 0 / 0.6495 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-06/0.003841, allocations: 2.25 kB / 0.6495 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.468e-05/0.003926, allocations: 5.219 kB / 0.6495 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.004105, allocations: 109.8 kB / 0.6496 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.876e-05/0.004124, allocations: 56.88 kB / 0.6496 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.274e-06/0.004131, allocations: 1.188 kB / 0.6496 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.051e-05/0.004141, allocations: 8.5 kB / 0.6496 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.004142, allocations: 5.688 kB / 0.6497 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/0.01716, allocations: 1.801 MB / 0.6514 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.294/6.311, allocations: 5.594 kB / 0.6514 GB, free: 24.39 MB / 0.5105 GB " [Timeout remaining time 654] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.892067447304726] Failed to read output from testmodel.py, exit status != 0: 6.387461549602449 6.394983719 6.391295305 Calling exit ...