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.001238/0.001238, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001221/0.001221, allocations: 189.2 kB / 17.34 MB, free: 5.762 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 / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7716/0.7716, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 64.45 kB / 0.568 GB, free: 29.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1365, allocations: 77.93 MB / 0.6441 GB, free: 9.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002473/0.139, allocations: 1.411 MB / 0.6454 GB, free: 8.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003999/0.1394, allocations: 172.2 kB / 0.6456 GB, free: 8.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.1394, allocations: 4 kB / 0.6456 GB, free: 8.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.1395, allocations: 3.938 kB / 0.6456 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.78e-05/0.1395, allocations: 0 / 0.6456 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1398, allocations: 39.84 kB / 0.6457 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.881e-05/0.1399, allocations: 19.98 kB / 0.6457 GB, free: 7.992 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.869e-05/0.14, allocations: 4 kB / 0.6457 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.14, allocations: 19.86 kB / 0.6457 GB, free: 7.969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.377e-05/0.14, allocations: 11.98 kB / 0.6457 GB, free: 7.957 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.1401, allocations: 0 / 0.6457 GB, free: 7.957 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1402, allocations: 35.97 kB / 0.6457 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.1402, allocations: 3.984 kB / 0.6457 GB, free: 7.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.1402, allocations: 11.94 kB / 0.6458 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1404, allocations: 56.03 kB / 0.6458 GB, free: 7.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1404, allocations: 4 kB / 0.6458 GB, free: 7.848 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1404, allocations: 0 / 0.6458 GB, free: 7.848 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1404, allocations: 0 / 0.6458 GB, free: 7.848 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.0004189/0.1408, allocations: 343.4 kB / 0.6461 GB, free: 7.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1409, allocations: 12.62 kB / 0.6462 GB, free: 7.449 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.1409, allocations: 30.75 kB / 0.6462 GB, free: 7.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.1409, allocations: 0.9375 kB / 0.6462 GB, free: 7.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.141, allocations: 168.3 kB / 0.6463 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1411, allocations: 4.375 kB / 0.6463 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.1411, allocations: 4.375 kB / 0.6464 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1412, allocations: 50.22 kB / 0.6464 GB, free: 7.145 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1413, allocations: 3.938 kB / 0.6464 GB, free: 7.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1413, allocations: 4 kB / 0.6464 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1413, allocations: 0 / 0.6464 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.1414, allocations: 39.89 kB / 0.6464 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.1417, allocations: 245 kB / 0.6467 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1419, allocations: 42.48 kB / 0.6467 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.142, allocations: 24.84 kB / 0.6467 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.1421, allocations: 89.09 kB / 0.6468 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1422, allocations: 34.56 kB / 0.6469 GB, free: 6.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1422, allocations: 0 / 0.6469 GB, free: 6.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003622/0.1425, allocations: 81.58 kB / 0.6469 GB, free: 6.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.1426, allocations: 51.41 kB / 0.647 GB, free: 6.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.747e-05/0.1427, allocations: 97.86 kB / 0.6471 GB, free: 6.328 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.1427, allocations: 25.7 kB / 0.6471 GB, free: 6.297 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.1427, allocations: 100.1 kB / 0.6472 GB, free: 6.195 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.1427, allocations: 7.953 kB / 0.6472 GB, free: 6.188 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.1428, allocations: 9.719 kB / 0.6472 GB, free: 6.172 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.1429, allocations: 310.8 kB / 0.6475 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/0.143, allocations: 19.98 kB / 0.6475 GB, free: 5.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.143, allocations: 19.97 kB / 0.6476 GB, free: 5.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.1432, allocations: 48.83 kB / 0.6476 GB, free: 5.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1432, allocations: 3.938 kB / 0.6476 GB, free: 5.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000205/0.1434, allocations: 65.66 kB / 0.6477 GB, free: 5.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1434, allocations: 5.719 kB / 0.6477 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1434, allocations: 0 / 0.6477 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.1435, allocations: 0 / 0.6477 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.1435, allocations: 11.98 kB / 0.6477 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1436, allocations: 4.031 kB / 0.6477 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.1436, allocations: 7.953 kB / 0.6477 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.1436, allocations: 0 / 0.6477 GB, free: 5.668 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 (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.269e-05/0.1437, allocations: 109.8 kB / 0.6478 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.1437, allocations: 7.984 kB / 0.6478 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.144, allocations: 72.72 kB / 0.6479 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.144, allocations: 4.031 kB / 0.6479 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.144, allocations: 0 / 0.6479 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.144, allocations: 0 / 0.6479 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.1441, allocations: 157.6 kB / 0.648 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1441, allocations: 4 kB / 0.648 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.1442, allocations: 7.984 kB / 0.648 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1442, allocations: 0 / 0.648 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.1442, allocations: 0 / 0.648 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1442, allocations: 0 / 0.648 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1442, allocations: 7.938 kB / 0.648 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.1445, allocations: 167.4 kB / 0.6482 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.1445, allocations: 81.11 kB / 0.6483 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1445, allocations: 3.984 kB / 0.6483 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.1446, allocations: 4 kB / 0.6483 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.1447, allocations: 0 / 0.6483 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1447, allocations: 32 / 0.6483 GB, free: 4.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.623e-05/0.1447, allocations: 91.45 kB / 0.6484 GB, free: 4.863 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1447, allocations: 0 / 0.6484 GB, free: 4.863 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.145, allocations: 19.89 kB / 0.6484 GB, free: 4.844 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 (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.0005821/0.1455, allocations: 0.7085 MB / 0.6491 GB, free: 4.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1458, allocations: 35.91 kB / 0.6491 GB, free: 4.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1458, allocations: 3.938 kB / 0.6491 GB, free: 4.066 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.1459, allocations: 19.98 kB / 0.6491 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.1462, allocations: 8.25 kB / 0.6492 GB, free: 4.039 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.1466, allocations: 135.1 kB / 0.6493 GB, free: 3.867 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.1468, allocations: 0.6768 MB / 0.6499 GB, free: 3.164 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.623e-05/0.1469, allocations: 3.984 kB / 0.6499 GB, free: 3.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.1469, allocations: 11.44 kB / 0.65 GB, free: 3.148 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1469, allocations: 4 kB / 0.65 GB, free: 3.145 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.1641, allocations: 1.516 MB / 0.6514 GB, free: 1.719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.69, allocations: 8.719 kB / 0.6515 GB, free: 1.711 MB / 494.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)