Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IBPSA_latest_IBPSA_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.001059/0.001059, allocations: 102.5 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7409/0.7409, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 59.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.34, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002269/0.3423, allocations: 1.41 MB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003233/0.3427, allocations: 161.5 kB / 0.5688 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.3427, allocations: 0 / 0.5688 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.3428, allocations: 1.922 kB / 0.5688 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.343e-05/0.3428, allocations: 9.719 kB / 0.5688 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.3431, allocations: 42.94 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.3431, allocations: 22.5 kB / 0.5689 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.87e-05/0.3432, allocations: 5.797 kB / 0.5689 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.076e-05/0.3433, allocations: 9.766 kB / 0.5689 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.118e-05/0.3433, allocations: 9.672 kB / 0.5689 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.3433, allocations: 1.156 kB / 0.5689 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3434, allocations: 44.81 kB / 0.569 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.3434, allocations: 6.031 kB / 0.569 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.3435, allocations: 10.83 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.3436, allocations: 49.47 kB / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3436, allocations: 1.094 kB / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3436, allocations: 5 kB / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.3436, allocations: 0 / 0.569 GB, free: 31.5 MB / 446.1 MB 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.0003275/0.3439, allocations: 341.6 kB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.344, allocations: 11.38 kB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.255e-05/0.344, allocations: 31.55 kB / 0.5694 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.3441, allocations: 3.812 kB / 0.5694 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.794e-05/0.3441, allocations: 163.7 kB / 0.5696 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.3441, allocations: 1.625 kB / 0.5696 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.3441, allocations: 6 kB / 0.5696 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.3443, allocations: 49.98 kB / 0.5696 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.3443, allocations: 5.25 kB / 0.5696 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.3443, allocations: 0 / 0.5696 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3443, allocations: 1.406 kB / 0.5696 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.3445, allocations: 33.27 kB / 0.5696 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.3447, allocations: 251.9 kB / 0.5699 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.3449, allocations: 45.42 kB / 0.5699 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/0.3449, allocations: 25 kB / 0.57 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.3451, allocations: 85.88 kB / 0.57 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.3451, allocations: 31.62 kB / 0.5701 GB, free: 30.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3451, allocations: 1.219 kB / 0.5701 GB, free: 30.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003254/0.3455, allocations: 81.91 kB / 0.5701 GB, free: 30.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.3455, allocations: 52.59 kB / 0.5702 GB, free: 30.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.294e-05/0.3455, allocations: 106 kB / 0.5703 GB, free: 30.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.3455, allocations: 25.7 kB / 0.5703 GB, free: 30.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.915e-05/0.3456, allocations: 81.98 kB / 0.5704 GB, free: 30.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.3456, allocations: 6.406 kB / 0.5704 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.3456, allocations: 18.03 kB / 0.5704 GB, free: 30.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.636e-05/0.3457, allocations: 312.9 kB / 0.5707 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/0.3457, allocations: 19.36 kB / 0.5707 GB, free: 29.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.1e-05/0.3458, allocations: 14.59 kB / 0.5708 GB, free: 29.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.346, allocations: 42.69 kB / 0.5708 GB, free: 29.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.346, allocations: 5.188 kB / 0.5708 GB, free: 29.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001897/0.3462, allocations: 68.58 kB / 0.5709 GB, free: 29.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.3462, allocations: 6.562 kB / 0.5709 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3462, allocations: 5.25 kB / 0.5709 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.3462, allocations: 1.281 kB / 0.5709 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.056e-05/0.3463, allocations: 11.7 kB / 0.5709 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.3463, allocations: 0.5 kB / 0.5709 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.3464, allocations: 7.891 kB / 0.5709 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.3464, allocations: 1.062 kB / 0.5709 GB, free: 29.67 MB / 446.1 MB 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.843e-05/0.3464, allocations: 112.4 kB / 0.571 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.3465, allocations: 2.469 kB / 0.571 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.3467, allocations: 75.66 kB / 0.5711 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3467, allocations: 2.906 kB / 0.5711 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.3467, allocations: 2.375 kB / 0.5711 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.3467, allocations: 0 / 0.5711 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.3468, allocations: 163.3 kB / 0.5712 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3468, allocations: 1.219 kB / 0.5712 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.3469, allocations: 13.92 kB / 0.5713 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3469, allocations: 0 / 0.5713 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.3469, allocations: 5.766 kB / 0.5713 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3469, allocations: 1.062 kB / 0.5713 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3469, allocations: 4.828 kB / 0.5713 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.3471, allocations: 163.7 kB / 0.5714 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.3471, allocations: 78.98 kB / 0.5715 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.3471, allocations: 3.375 kB / 0.5715 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.3472, allocations: 4.938 kB / 0.5715 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.3472, allocations: 4.25 kB / 0.5715 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3473, allocations: 1.469 kB / 0.5715 GB, free: 29.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.903e-05/0.3473, allocations: 79.42 kB / 0.5716 GB, free: 28.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3473, allocations: 0 / 0.5716 GB, free: 28.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000227/0.3475, allocations: 21.25 kB / 0.5716 GB, free: 28.98 MB / 446.1 MB 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.0004058/0.3479, allocations: 0.7055 MB / 0.5723 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.3481, allocations: 36.58 kB / 0.5723 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3481, allocations: 4.781 kB / 0.5723 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.222e-05/0.3482, allocations: 21.72 kB / 0.5724 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.3485, allocations: 7.172 kB / 0.5724 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.3488, allocations: 142 kB / 0.5725 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.488e-05/0.3489, allocations: 0.6753 MB / 0.5732 GB, free: 27.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.986e-05/0.3489, allocations: 2.719 kB / 0.5732 GB, free: 27.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.3489, allocations: 10.22 kB / 0.5732 GB, free: 27.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.349, allocations: 2.094 kB / 0.5732 GB, free: 27.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.365, allocations: 1.488 MB / 0.5746 GB, free: 27.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.371, allocations: 9.953 kB / 0.5746 GB, free: 27.11 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)