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.0007059/0.0007059, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007636/0.0007636, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8539/0.8539, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.001387/0.001387, allocations: 240.1 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.6685/0.6685, allocations: 138.4 MB / 454.3 MB, free: 30 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.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.633e-06/1.633e-06, allocations: 0 / 0.6463 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.311e-05, allocations: 6.219 kB / 0.6464 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001449/0.001472, allocations: 0.5879 MB / 0.6469 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003081/0.00178, allocations: 96.25 kB / 0.647 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.47e-05/0.001795, allocations: 0 / 0.647 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.001811, allocations: 0 / 0.647 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.873e-06/0.001818, allocations: 0 / 0.647 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.002211, allocations: 35.84 kB / 0.6471 GB, free: 1.086 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.775e-05/0.002259, allocations: 4 kB / 0.6471 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.002303, allocations: 7.984 kB / 0.6471 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.662e-05/0.00233, allocations: 4 kB / 0.6471 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 1.643e-05/0.002346, allocations: 0 / 0.6471 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.002359, allocations: 0 / 0.6471 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.002486, allocations: 39.83 kB / 0.6471 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.002496, allocations: 0 / 0.6471 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.002511, allocations: 0 / 0.6471 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.002621, allocations: 35.94 kB / 0.6471 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.002624, allocations: 0 / 0.6471 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.274e-06/0.002626, allocations: 4 kB / 0.6471 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.002631, allocations: 0 / 0.6471 GB, free: 0.9922 MB / 0.5573 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.0002397/0.00287, allocations: 242.4 kB / 0.6474 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.002914, allocations: 9.938 kB / 0.6474 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.002943, allocations: 30.75 kB / 0.6474 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.002986, allocations: 0.9375 kB / 0.6474 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.711e-05/0.003043, allocations: 113.7 kB / 0.6475 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.003053, allocations: 384 / 0.6475 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.00306, allocations: 384 / 0.6475 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.003146, allocations: 30.27 kB / 0.6476 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.003153, allocations: 4.125 kB / 0.6476 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.00316, allocations: 384 / 0.6476 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.003168, allocations: 4.125 kB / 0.6476 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.003186, allocations: 4 kB / 0.6476 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.003299, allocations: 124.7 kB / 0.6477 GB, free: 336 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.864e-05/0.003338, allocations: 22.52 kB / 0.6477 GB, free: 304 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.408e-05/0.003352, allocations: 4.953 kB / 0.6477 GB, free: 296 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.003525, allocations: 11.98 kB / 0.6477 GB, free: 284 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.003546, allocations: 30.56 kB / 0.6478 GB, free: 244 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.003547, allocations: 3.938 kB / 0.6478 GB, free: 240 kB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001351/0.003682, allocations: 29.7 kB / 0.6478 GB, free: 204 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.003715, allocations: 59.34 kB / 0.6478 GB, free: 132 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.649e-05/0.003741, allocations: 93.98 kB / 0.6479 GB, free: 28 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.2315/0.2352, allocations: 33.64 kB / 0.648 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.095e-05/0.2353, allocations: 80.14 kB / 0.648 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.2353, allocations: 0 / 0.648 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.2353, allocations: 10.7 kB / 0.648 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.367e-05/0.2354, allocations: 313.7 kB / 0.6483 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.2354, allocations: 2.125 kB / 0.6483 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-06/0.2354, allocations: 0 / 0.6483 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.793e-05/0.2354, allocations: 8.984 kB / 0.6484 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2354, allocations: 1.344 kB / 0.6484 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.808e-05/0.2355, allocations: 32.81 kB / 0.6484 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2355, allocations: 6.969 kB / 0.6484 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2355, allocations: 0.5312 kB / 0.6484 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.2355, allocations: 0.5625 kB / 0.6484 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.2356, allocations: 6.047 kB / 0.6484 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2356, allocations: 3.75 kB / 0.6484 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.2356, allocations: 1.25 kB / 0.6484 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.2356, allocations: 1.875 kB / 0.6484 GB, free: 56.05 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 (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 4.582e-05/0.2357, allocations: 110.4 kB / 0.6485 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.2357, allocations: 1.938 kB / 0.6485 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.766e-05/0.2358, allocations: 40.77 kB / 0.6486 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2358, allocations: 2.438 kB / 0.6486 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2358, allocations: 3.938 kB / 0.6486 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2358, allocations: 0.5938 kB / 0.6486 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.782e-05/0.2359, allocations: 119.5 kB / 0.6487 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2359, allocations: 0 / 0.6487 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.2359, allocations: 4.094 kB / 0.6487 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2359, allocations: 2.25 kB / 0.6487 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.2359, allocations: 3.547 kB / 0.6487 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2359, allocations: 0 / 0.6487 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2359, allocations: 7.75 kB / 0.6487 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.052e-05/0.2359, allocations: 57.97 kB / 0.6487 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.2359, allocations: 2.344 kB / 0.6488 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.2359, allocations: 1.438 kB / 0.6488 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.127e-06/0.236, allocations: 1.75 kB / 0.6488 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.236, allocations: 6.891 kB / 0.6488 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.236, allocations: 2.375 kB / 0.6488 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.205e-05/0.236, allocations: 75.94 kB / 0.6488 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.236, allocations: 0 / 0.6488 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001466/0.2361, allocations: 10.28 kB / 0.6488 GB, free: 55.6 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 (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.0002594/0.2364, allocations: 0.6051 MB / 0.6494 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.084e-05/0.2365, allocations: 5.594 kB / 0.6494 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2365, allocations: 2.062 kB / 0.6494 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.069e-06/0.2365, allocations: 3.656 kB / 0.6494 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001012/0.2366, allocations: 10.98 kB / 0.6495 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.2368, allocations: 111.9 kB / 0.6496 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.634e-05/0.2368, allocations: 58.95 kB / 0.6496 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.095e-05/0.2368, allocations: 0.7812 kB / 0.6496 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.2369, allocations: 9.312 kB / 0.6496 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of SimCode: time 5.61e-07/0.2369, allocations: 0 / 0.6496 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.2499, allocations: 1.801 MB / 0.6514 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.319/6.569, allocations: 7.375 kB / 0.6514 GB, free: 54.08 MB / 0.5573 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 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: 9.146735918708146] Failed to read output from testmodel.py, exit status != 0: 6.647600580006838 6.658855099 6.654081475 Calling exit ...