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.0007422/0.0007422, 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.0008063/0.0008063, allocations: 169.9 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.8414/0.8414, 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.001413/0.001413, allocations: 236.7 kB / 259.4 MB, free: 13.02 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.6375/0.6375, allocations: 138.4 MB / 454.3 MB, free: 30.04 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 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.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.12e-05, allocations: 13.17 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001876/0.001897, allocations: 1.457 MB / 0.6477 GB, free: 424 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003285/0.002226, allocations: 156.4 kB / 0.6479 GB, free: 264 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.002254, allocations: 0 / 0.6479 GB, free: 264 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.002282, allocations: 3.938 kB / 0.6479 GB, free: 260 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.002322, allocations: 7.938 kB / 0.6479 GB, free: 252 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.002667, allocations: 39.83 kB / 0.6479 GB, free: 212 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.002728, allocations: 19.92 kB / 0.6479 GB, free: 192 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.002812, allocations: 4 kB / 0.6479 GB, free: 188 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.417e-05/0.002847, allocations: 11.98 kB / 0.648 GB, free: 176 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.279e-05/0.002879, allocations: 11.94 kB / 0.648 GB, free: 164 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.002893, allocations: 3.984 kB / 0.648 GB, free: 160 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.003001, allocations: 47.89 kB / 0.648 GB, free: 112 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.003011, allocations: 0 / 0.648 GB, free: 112 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.003028, allocations: 7.984 kB / 0.648 GB, free: 104 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.00315, allocations: 55.8 kB / 0.6481 GB, free: 48 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003152, allocations: 0 / 0.6481 GB, free: 48 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003153, allocations: 0 / 0.6481 GB, free: 48 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.003157, allocations: 0 / 0.6481 GB, free: 48 kB / 0.5573 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.2222/0.2253, allocations: 258.3 kB / 0.6483 GB, free: 57.16 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2254, allocations: 11.41 kB / 0.6483 GB, free: 57.16 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.449e-05/0.2254, allocations: 32.25 kB / 0.6484 GB, free: 57.12 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.2255, allocations: 6.625 kB / 0.6484 GB, free: 57.12 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.69e-05/0.2255, allocations: 108.3 kB / 0.6485 GB, free: 57 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.2255, allocations: 2.094 kB / 0.6485 GB, free: 57 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.2255, allocations: 4.844 kB / 0.6485 GB, free: 57 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.2257, allocations: 50.59 kB / 0.6485 GB, free: 56.97 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.2257, allocations: 192 / 0.6485 GB, free: 56.97 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.2257, allocations: 4.719 kB / 0.6485 GB, free: 56.97 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2257, allocations: 5.312 kB / 0.6485 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.68e-05/0.2258, allocations: 32.45 kB / 0.6486 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.226, allocations: 212 kB / 0.6488 GB, free: 56.74 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.845e-05/0.2261, allocations: 38.16 kB / 0.6488 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.2261, allocations: 25.84 kB / 0.6488 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.2262, allocations: 9.734 kB / 0.6488 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.2262, allocations: 37.61 kB / 0.6489 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2262, allocations: 0.6562 kB / 0.6489 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002386/0.2265, allocations: 86.36 kB / 0.649 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.2265, allocations: 56.55 kB / 0.649 GB, free: 56.57 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.125e-05/0.2265, allocations: 102.2 kB / 0.6491 GB, free: 56.47 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-06/0.2265, allocations: 26.45 kB / 0.6491 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.006e-05/0.2266, allocations: 84.38 kB / 0.6492 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.2266, allocations: 10.19 kB / 0.6492 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.2266, allocations: 17.42 kB / 0.6492 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.827e-05/0.2266, allocations: 314.5 kB / 0.6495 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.2267, allocations: 19.16 kB / 0.6496 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.104e-05/0.2267, allocations: 16.97 kB / 0.6496 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.163e-05/0.2268, allocations: 40.56 kB / 0.6496 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2268, allocations: 0 / 0.6496 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001149/0.2269, allocations: 70.02 kB / 0.6497 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2269, allocations: 6.5 kB / 0.6497 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2269, allocations: 1.469 kB / 0.6497 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.227, allocations: 0.8125 kB / 0.6497 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.227, allocations: 10.53 kB / 0.6497 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.227, allocations: 0.6094 kB / 0.6497 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.227, allocations: 7.297 kB / 0.6497 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.227, allocations: 2.422 kB / 0.6497 GB, free: 55.98 MB / 0.5573 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 3.663e-05/0.2271, allocations: 111 kB / 0.6498 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.2271, allocations: 8.109 kB / 0.6498 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.2272, allocations: 71.64 kB / 0.6499 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2272, allocations: 0.8125 kB / 0.6499 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2273, allocations: 4.594 kB / 0.6499 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2273, allocations: 1.469 kB / 0.6499 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.667e-05/0.2273, allocations: 129.3 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2273, allocations: 0 / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.2274, allocations: 9.062 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2274, allocations: 6.625 kB / 0.65 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2274, allocations: 1.688 kB / 0.65 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2274, allocations: 1.141 kB / 0.65 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2274, allocations: 0 / 0.65 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.2275, allocations: 168.6 kB / 0.6502 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.2275, allocations: 6.5 kB / 0.6502 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.2275, allocations: 0 / 0.6502 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.724e-05/0.2275, allocations: 14.86 kB / 0.6502 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.2276, allocations: 2.094 kB / 0.6502 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2276, allocations: 1.875 kB / 0.6502 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.348e-05/0.2276, allocations: 82.56 kB / 0.6503 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2276, allocations: 3 kB / 0.6503 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001622/0.2278, allocations: 11.73 kB / 0.6503 GB, free: 55.46 MB / 0.5573 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.0002956/0.228, allocations: 0.7044 MB / 0.651 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.2282, allocations: 40.45 kB / 0.6511 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2282, allocations: 0.9062 kB / 0.6511 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.434e-05/0.2282, allocations: 18.84 kB / 0.6511 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.2284, allocations: 5.766 kB / 0.6511 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.2287, allocations: 134.2 kB / 0.6512 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.2288, allocations: 60.19 kB / 0.6513 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.795e-05/0.2288, allocations: 1.422 kB / 0.6513 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.2288, allocations: 13.89 kB / 0.6513 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/0.2288, allocations: 0 / 0.6513 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.2443, allocations: 2.205 MB / 0.6534 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.439/6.684, allocations: 5 kB / 0.6534 GB, free: 53.78 MB / 0.5573 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.097815725021064] Failed to read output from testmodel.py, exit status != 0: 6.761707219295204 6.77380355 6.768638129 Calling exit ...