Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.001354/0.001354, allocations: 106.8 kB / 16.41 MB, free: 6.469 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.001482/0.001482, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7963/0.7963, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 62.92 kB / 0.568 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1452, allocations: 77.93 MB / 0.6441 GB, free: 9.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001753/0.147, allocations: 0.5635 MB / 0.6447 GB, free: 8.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00043/0.1474, allocations: 107.6 kB / 0.6448 GB, free: 8.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.813e-05/0.1475, allocations: 4 kB / 0.6448 GB, free: 8.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.1475, allocations: 0 / 0.6448 GB, free: 8.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.863e-06/0.1475, allocations: 0 / 0.6448 GB, free: 8.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.1479, allocations: 27.86 kB / 0.6448 GB, free: 8.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.865e-05/0.148, allocations: 0 / 0.6448 GB, free: 8.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.937e-05/0.1481, allocations: 4.344 kB / 0.6448 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/0.1481, allocations: 0 / 0.6448 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.253e-05/0.1481, allocations: 0 / 0.6448 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1481, allocations: 0 / 0.6448 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.1483, allocations: 39.89 kB / 0.6448 GB, free: 8.727 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.1483, allocations: 4 kB / 0.6448 GB, free: 8.723 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.1484, allocations: 8 kB / 0.6448 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1485, allocations: 32.22 kB / 0.6449 GB, free: 8.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.1485, allocations: 4 kB / 0.6449 GB, free: 8.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1485, allocations: 0 / 0.6449 GB, free: 8.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1486, allocations: 0 / 0.6449 GB, free: 8.68 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003925/0.1489, allocations: 315.5 kB / 0.6452 GB, free: 8.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.149, allocations: 12.56 kB / 0.6452 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.149, allocations: 30.75 kB / 0.6452 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.1491, allocations: 0.9375 kB / 0.6452 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1492, allocations: 168.4 kB / 0.6454 GB, free: 8.066 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.1492, allocations: 4.375 kB / 0.6454 GB, free: 8.062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1492, allocations: 4.312 kB / 0.6454 GB, free: 8.059 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.451e-05/0.1493, allocations: 38.2 kB / 0.6454 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1493, allocations: 3.938 kB / 0.6454 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1494, allocations: 0 / 0.6454 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1494, allocations: 4 kB / 0.6454 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.702e-05/0.1494, allocations: 0 / 0.6454 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.1495, allocations: 145.7 kB / 0.6456 GB, free: 7.816 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.979e-05/0.1496, allocations: 22.61 kB / 0.6456 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.1496, allocations: 4.859 kB / 0.6456 GB, free: 7.777 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.1498, allocations: 89.16 kB / 0.6457 GB, free: 7.672 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1498, allocations: 30.56 kB / 0.6457 GB, free: 7.633 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1498, allocations: 3.938 kB / 0.6457 GB, free: 7.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.15, allocations: 33.64 kB / 0.6458 GB, free: 7.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.15, allocations: 51.53 kB / 0.6458 GB, free: 7.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.155e-05/0.1501, allocations: 97.86 kB / 0.6459 GB, free: 7.422 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1501, allocations: 25.7 kB / 0.6459 GB, free: 7.391 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.012e-05/0.1501, allocations: 80.14 kB / 0.646 GB, free: 7.309 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.1501, allocations: 7.953 kB / 0.646 GB, free: 7.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.1502, allocations: 13.7 kB / 0.646 GB, free: 7.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.049e-05/0.1503, allocations: 314.8 kB / 0.6463 GB, free: 6.965 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-06/0.1503, allocations: 0 / 0.6463 GB, free: 6.965 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.1503, allocations: 4 kB / 0.6463 GB, free: 6.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/0.1503, allocations: 16.86 kB / 0.6463 GB, free: 6.941 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1503, allocations: 0 / 0.6463 GB, free: 6.941 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.246e-05/0.1504, allocations: 33.7 kB / 0.6464 GB, free: 6.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1504, allocations: 4 kB / 0.6464 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1504, allocations: 3.938 kB / 0.6464 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1504, allocations: 4 kB / 0.6464 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.704e-05/0.1505, allocations: 3.984 kB / 0.6464 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1505, allocations: 0 / 0.6464 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.141e-05/0.1505, allocations: 32 / 0.6464 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.1505, allocations: 7.938 kB / 0.6464 GB, free: 6.879 MB / 494.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 (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 6.51e-05/0.1506, allocations: 113.3 kB / 0.6465 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.1506, allocations: 0 / 0.6465 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.25e-05/0.1507, allocations: 44.69 kB / 0.6465 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1507, allocations: 0 / 0.6465 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1507, allocations: 0 / 0.6465 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1507, allocations: 0 / 0.6465 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.4e-05/0.1508, allocations: 149.7 kB / 0.6467 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1508, allocations: 4.031 kB / 0.6467 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.1508, allocations: 0 / 0.6467 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1508, allocations: 3.984 kB / 0.6467 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1508, allocations: 7.875 kB / 0.6467 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1508, allocations: 0 / 0.6467 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1508, allocations: 7.984 kB / 0.6467 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.1509, allocations: 57.08 kB / 0.6468 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.151, allocations: 77.11 kB / 0.6468 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.151, allocations: 7.969 kB / 0.6468 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-06/0.151, allocations: 0 / 0.6468 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.151, allocations: 7.984 kB / 0.6468 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.151, allocations: 0 / 0.6468 GB, free: 6.309 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.502e-05/0.151, allocations: 75.28 kB / 0.6469 GB, free: 6.234 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1511, allocations: 0 / 0.6469 GB, free: 6.234 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001924/0.1512, allocations: 11.94 kB / 0.6469 GB, free: 6.223 MB / 494.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 (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.0003856/0.1516, allocations: 0.6046 MB / 0.6475 GB, free: 5.586 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.431e-05/0.1517, allocations: 3.938 kB / 0.6475 GB, free: 5.582 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1517, allocations: 4 kB / 0.6475 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.55e-06/0.1517, allocations: 0 / 0.6475 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.1519, allocations: 5.875 kB / 0.6475 GB, free: 5.574 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.1522, allocations: 118.5 kB / 0.6476 GB, free: 5.418 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1525, allocations: 0.6729 MB / 0.6483 GB, free: 4.719 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.296e-05/0.1525, allocations: 3.984 kB / 0.6483 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.1525, allocations: 7.438 kB / 0.6483 GB, free: 4.707 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1525, allocations: 3.938 kB / 0.6483 GB, free: 4.703 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.1698, allocations: 1.146 MB / 0.6494 GB, free: 3.664 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.653, allocations: 6.547 kB / 0.6494 GB, free: 3.66 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)