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.00142/0.00142, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001372/0.001372, allocations: 205.4 kB / 20.13 MB, free: 3.078 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.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.003487/0.003487, allocations: 281.3 kB / 309.8 MB, free: 3.422 MB / 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.057/1.057, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003319/0.003319, allocations: 101.7 kB / 0.7347 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.614/0.6173, allocations: 95.34 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001762/0.6191, allocations: 0.5804 MB / 0.8284 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000356/0.6195, allocations: 107.5 kB / 0.8285 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.201e-05/0.6195, allocations: 5.219 kB / 0.8285 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.6195, allocations: 0 / 0.8285 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.6195, allocations: 0 / 0.8285 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.6198, allocations: 30.42 kB / 0.8285 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.71e-05/0.6199, allocations: 5.859 kB / 0.8285 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.6199, allocations: 2.328 kB / 0.8285 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.399e-05/0.6199, allocations: 4 kB / 0.8285 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.656e-05/0.62, allocations: 5.188 kB / 0.8285 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.62, allocations: 0 / 0.8285 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.6201, allocations: 38.77 kB / 0.8286 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.876e-06/0.6201, allocations: 0 / 0.8286 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.6202, allocations: 5.141 kB / 0.8286 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.6203, allocations: 30.39 kB / 0.8286 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6203, allocations: 0.7812 kB / 0.8286 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6203, allocations: 0 / 0.8286 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.6203, allocations: 3.938 kB / 0.8286 GB, free: 2.551 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002472/0.6205, allocations: 322.2 kB / 0.8289 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.6206, allocations: 10.31 kB / 0.8289 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.199e-05/0.6206, allocations: 4.188 kB / 0.8289 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.88e-05/0.6206, allocations: 32.48 kB / 0.829 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.6207, allocations: 1.453 kB / 0.829 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.546e-05/0.6207, allocations: 164 kB / 0.8291 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.6207, allocations: 2.469 kB / 0.8291 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.6207, allocations: 384 / 0.8291 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.428e-05/0.6208, allocations: 33.27 kB / 0.8292 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.6208, allocations: 7.984 kB / 0.8292 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.6209, allocations: 0 / 0.8292 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.6209, allocations: 0.875 kB / 0.8292 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.054e-05/0.6209, allocations: 5.641 kB / 0.8292 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.621, allocations: 148.5 kB / 0.8293 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.337e-05/0.621, allocations: 16.84 kB / 0.8293 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.6211, allocations: 6.438 kB / 0.8293 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.6213, allocations: 89.23 kB / 0.8294 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.6213, allocations: 34.5 kB / 0.8295 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.6213, allocations: 0 / 0.8295 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001507/0.6214, allocations: 40.28 kB / 0.8295 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.6215, allocations: 54.78 kB / 0.8296 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.699e-05/0.6215, allocations: 89.86 kB / 0.8296 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.6215, allocations: 25.7 kB / 0.8297 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.2e-05/0.6215, allocations: 80.14 kB / 0.8297 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.6215, allocations: 8.953 kB / 0.8297 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.6216, allocations: 16.28 kB / 0.8298 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.6216, allocations: 311.5 kB / 0.8301 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.6216, allocations: 4 kB / 0.8301 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-06/0.6216, allocations: 7.562 kB / 0.8301 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.6217, allocations: 8.141 kB / 0.8301 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6217, allocations: 0 / 0.8301 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.677e-05/0.6217, allocations: 39.97 kB / 0.8301 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6217, allocations: 8.25 kB / 0.8301 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6217, allocations: 4.734 kB / 0.8301 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.6217, allocations: 2.625 kB / 0.8301 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.089e-05/0.6218, allocations: 0 / 0.8301 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.6218, allocations: 0.7031 kB / 0.8301 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-06/0.6218, allocations: 2.625 kB / 0.8301 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.6218, allocations: 3.984 kB / 0.8301 GB, free: 0.8281 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 (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.629e-05/0.6219, allocations: 114 kB / 0.8302 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.6219, allocations: 11.58 kB / 0.8303 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.78e-05/0.622, allocations: 41.45 kB / 0.8303 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.622, allocations: 0 / 0.8303 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.622, allocations: 2.625 kB / 0.8303 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.622, allocations: 0 / 0.8303 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.757e-05/0.622, allocations: 143.8 kB / 0.8304 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.622, allocations: 0 / 0.8304 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.622, allocations: 3.234 kB / 0.8304 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.622, allocations: 3.938 kB / 0.8304 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.622, allocations: 0.7969 kB / 0.8304 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.622, allocations: 4.031 kB / 0.8305 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.622, allocations: 2.625 kB / 0.8305 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.081e-05/0.6221, allocations: 56.97 kB / 0.8305 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.6221, allocations: 77.11 kB / 0.8306 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.6221, allocations: 4.594 kB / 0.8306 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.6221, allocations: 2.625 kB / 0.8306 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.6222, allocations: 4.641 kB / 0.8306 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.6222, allocations: 4.031 kB / 0.8306 GB, free: 304 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.547e-05/0.6222, allocations: 76.03 kB / 0.8307 GB, free: 228 kB / 0.5762 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6222, allocations: 0 / 0.8307 GB, free: 228 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002354/0.6224, allocations: 7.875 kB / 0.8307 GB, free: 228 kB / 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 (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.0004741/0.6229, allocations: 0.6135 MB / 0.8313 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.277e-05/0.623, allocations: 7.422 kB / 0.8313 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.623, allocations: 2.625 kB / 0.8313 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.763e-06/0.623, allocations: 4.547 kB / 0.8313 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.6231, allocations: 6.562 kB / 0.8313 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.6234, allocations: 106.1 kB / 0.8314 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.6238, allocations: 0.6742 MB / 0.8321 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.292e-05/0.6238, allocations: 2.625 kB / 0.8321 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.6238, allocations: 8.047 kB / 0.8321 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.6238, allocations: 0 / 0.8321 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.6409, allocations: 1.214 MB / 0.8333 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.696, allocations: 8.969 kB / 0.8333 GB, free: 14.41 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.749188098008744] Failed to read output from testmodel.py, exit status != 0: 8.820803714974318 8.838942125 8.215379943 Calling exit ...