Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 198.4 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6095/0.6109, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002841/0.6138, allocations: 1.427 MB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004255/0.6142, allocations: 160.4 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.6143, allocations: 4 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.6143, allocations: 3.938 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.6144, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.6147, allocations: 39.84 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.853e-05/0.6148, allocations: 23.92 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.885e-05/0.6149, allocations: 7.984 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.615, allocations: 11.94 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.858e-05/0.615, allocations: 7.984 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.615, allocations: 4 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.6152, allocations: 35.97 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.6152, allocations: 7.938 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.6152, allocations: 7.984 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.6154, allocations: 51.81 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6154, allocations: 3.938 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6154, allocations: 0 / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6154, allocations: 0 / 1.019 GB, free: 0.668 MB / 0.7637 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.0004614/0.6159, allocations: 341.7 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.6159, allocations: 8.031 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.616, allocations: 38.75 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.616, allocations: 0.9375 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.6162, allocations: 168.3 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.6162, allocations: 4.375 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-06/0.6162, allocations: 4.375 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.6164, allocations: 46.31 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.6164, allocations: 3.938 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.6164, allocations: 7.938 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.6164, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.6166, allocations: 43.89 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.617, allocations: 248.9 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.6171, allocations: 38.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.691e-05/0.6172, allocations: 20.91 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.6174, allocations: 93 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.6174, allocations: 30.56 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6174, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003748/0.6178, allocations: 81.58 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.6179, allocations: 59.53 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.618, allocations: 101.8 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.618, allocations: 25.7 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.618, allocations: 84.14 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.618, allocations: 3.906 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.6181, allocations: 13.72 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.6182, allocations: 318.8 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.37e-05/0.6183, allocations: 15.98 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.6183, allocations: 19.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.6185, allocations: 36.77 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6185, allocations: 3.938 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002039/0.6187, allocations: 65.72 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6187, allocations: 8.031 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6187, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.6188, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.6188, allocations: 7.984 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.6189, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.6189, allocations: 7.984 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.6189, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 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 6.457e-05/0.619, allocations: 113.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.619, allocations: 15.84 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.6193, allocations: 68.72 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6193, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6193, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.6193, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.6194, allocations: 161.6 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6194, allocations: 3.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.6195, allocations: 11.98 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6195, allocations: 4.031 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.6195, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6195, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6195, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.6198, allocations: 167.4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.6198, allocations: 77.11 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.6198, allocations: 4.031 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.6199, allocations: 7.984 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.62, allocations: 8 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.62, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.528e-05/0.62, allocations: 83.28 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.62, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002347/0.6203, allocations: 12 kB / 1.022 GB, free: 13.67 MB / 0.7794 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.0005696/0.6208, allocations: 0.7087 MB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.6211, allocations: 47.92 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6211, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/0.6212, allocations: 19.98 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.6214, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.6218, allocations: 127.3 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.6221, allocations: 0.6768 MB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.6221, allocations: 8.125 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.6221, allocations: 11.44 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6221, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.639, allocations: 1.485 MB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.617, allocations: 10.66 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.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 Buildings_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)