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.001284/0.001284, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.001247/0.001247, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8737/0.8737, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 72.5 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1476, allocations: 78.86 MB / 0.6506 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002491/0.1501, allocations: 1.417 MB / 0.6519 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004086/0.1505, allocations: 164.3 kB / 0.6521 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.1505, allocations: 4 kB / 0.6521 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.1506, allocations: 3.938 kB / 0.6521 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.812e-05/0.1506, allocations: 7.922 kB / 0.6521 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1509, allocations: 31.91 kB / 0.6521 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.092e-05/0.151, allocations: 23.92 kB / 0.6522 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.246e-05/0.1511, allocations: 8 kB / 0.6522 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.1511, allocations: 11.92 kB / 0.6522 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.17e-05/0.1512, allocations: 11.98 kB / 0.6522 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.1512, allocations: 0 / 0.6522 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1513, allocations: 39.95 kB / 0.6522 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.1513, allocations: 7.938 kB / 0.6522 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.1514, allocations: 4 kB / 0.6522 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1515, allocations: 60.02 kB / 0.6523 GB, free: 1.781 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1515, allocations: 0 / 0.6523 GB, free: 1.781 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1515, allocations: 0 / 0.6523 GB, free: 1.781 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.1515, allocations: 4 kB / 0.6523 GB, free: 1.777 MB / 494.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.0004404/0.152, allocations: 343.4 kB / 0.6526 GB, free: 1.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.152, allocations: 8.031 kB / 0.6526 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.1521, allocations: 34.75 kB / 0.6527 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.1521, allocations: 0.9375 kB / 0.6527 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1522, allocations: 168.3 kB / 0.6528 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1523, allocations: 384 / 0.6528 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.1523, allocations: 384 / 0.6528 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1525, allocations: 56.09 kB / 0.6529 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1525, allocations: 3.938 kB / 0.6529 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.1525, allocations: 0 / 0.6529 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.1525, allocations: 3.938 kB / 0.6529 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.1527, allocations: 39.89 kB / 0.6529 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.153, allocations: 244.9 kB / 0.6532 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.1531, allocations: 46.48 kB / 0.6532 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.1532, allocations: 24.91 kB / 0.6532 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/0.1534, allocations: 85.09 kB / 0.6533 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1535, allocations: 34.5 kB / 0.6534 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1535, allocations: 0 / 0.6534 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003701/0.1538, allocations: 85.64 kB / 0.6534 GB, free: 436 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.1539, allocations: 51.41 kB / 0.6535 GB, free: 372 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.154, allocations: 97.86 kB / 0.6536 GB, free: 264 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.154, allocations: 25.7 kB / 0.6536 GB, free: 232 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.1541, allocations: 88.06 kB / 0.6537 GB, free: 140 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.1541, allocations: 7.953 kB / 0.6537 GB, free: 132 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.1541, allocations: 9.844 kB / 0.6537 GB, free: 116 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1543, allocations: 318.8 kB / 0.654 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.321e-05/0.1544, allocations: 15.98 kB / 0.654 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.1544, allocations: 19.97 kB / 0.654 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1546, allocations: 40.77 kB / 0.6541 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1546, allocations: 8 kB / 0.6541 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002053/0.1548, allocations: 65.66 kB / 0.6542 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1549, allocations: 4 kB / 0.6542 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1549, allocations: 0 / 0.6542 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1549, allocations: 0 / 0.6542 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.155, allocations: 11.98 kB / 0.6542 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.155, allocations: 0 / 0.6542 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.155, allocations: 4 kB / 0.6542 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.155, allocations: 4.031 kB / 0.6542 GB, free: 15.61 MB / 0.4981 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 8.026e-05/0.1551, allocations: 117.8 kB / 0.6543 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.1552, allocations: 7.953 kB / 0.6543 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.1554, allocations: 76.7 kB / 0.6544 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1554, allocations: 0 / 0.6544 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1554, allocations: 192 / 0.6544 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1554, allocations: 0 / 0.6544 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.1556, allocations: 165.6 kB / 0.6545 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1556, allocations: 4 kB / 0.6545 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.1557, allocations: 19.86 kB / 0.6545 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1557, allocations: 0 / 0.6545 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1557, allocations: 0 / 0.6545 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1557, allocations: 0 / 0.6545 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1557, allocations: 4 kB / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.156, allocations: 163.4 kB / 0.6547 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.1561, allocations: 85.09 kB / 0.6548 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1561, allocations: 0 / 0.6548 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.1562, allocations: 4 kB / 0.6548 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.1562, allocations: 7.984 kB / 0.6548 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1562, allocations: 0 / 0.6548 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.407e-05/0.1563, allocations: 79.28 kB / 0.6549 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1563, allocations: 0 / 0.6549 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002335/0.1565, allocations: 19.97 kB / 0.6549 GB, free: 14.78 MB / 0.4981 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.0006628/0.1572, allocations: 0.7162 MB / 0.6556 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1574, allocations: 31.97 kB / 0.6556 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1574, allocations: 0 / 0.6556 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.015e-05/0.1575, allocations: 23.97 kB / 0.6556 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.1578, allocations: 1.875 kB / 0.6556 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.1582, allocations: 141.3 kB / 0.6558 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.1585, allocations: 0.6768 MB / 0.6564 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.1585, allocations: 0 / 0.6564 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.1585, allocations: 7.438 kB / 0.6565 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of SimCode: time 1.964e-06/0.1585, allocations: 4 kB / 0.6565 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.1802, allocations: 1.517 MB / 0.6579 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.189, allocations: 4.594 kB / 0.6579 GB, free: 11.65 MB / 0.4981 GB (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)