Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_IDEAS_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.005058/0.005058, allocations: 100.7 kB / 15.73 MB, free: 6.051 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.001258/0.001258, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8188/0.8188, allocations: 135.6 MB / 426.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 69.42 kB / 0.5857 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.144, allocations: 81.02 MB / 0.6649 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002492/0.1465, allocations: 1.42 MB / 0.6663 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004101/0.147, allocations: 164.3 kB / 0.6664 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.136e-05/0.147, allocations: 0 / 0.6664 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.147, allocations: 0 / 0.6664 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.842e-05/0.1471, allocations: 11.91 kB / 0.6664 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.1474, allocations: 31.91 kB / 0.6665 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.752e-05/0.1474, allocations: 23.94 kB / 0.6665 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.989e-05/0.1475, allocations: 7.984 kB / 0.6665 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.637e-05/0.1476, allocations: 11.94 kB / 0.6665 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.1476, allocations: 15.97 kB / 0.6665 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.1476, allocations: 0 / 0.6665 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1478, allocations: 43.91 kB / 0.6666 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.1478, allocations: 0 / 0.6666 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.1478, allocations: 11.94 kB / 0.6666 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.1479, allocations: 52.08 kB / 0.6666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1479, allocations: 0 / 0.6666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.148, allocations: 0 / 0.6666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.148, allocations: 0 / 0.6666 GB, free: 3.832 MB / 0.4981 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.0004388/0.1484, allocations: 347.4 kB / 0.6669 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1484, allocations: 9.109 kB / 0.667 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.1485, allocations: 30.75 kB / 0.667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.1485, allocations: 0.9375 kB / 0.667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.1487, allocations: 172.3 kB / 0.6672 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1487, allocations: 8.312 kB / 0.6672 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.1487, allocations: 384 / 0.6672 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1489, allocations: 50.25 kB / 0.6672 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1489, allocations: 7.922 kB / 0.6672 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1489, allocations: 0 / 0.6672 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1489, allocations: 4 kB / 0.6672 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.1491, allocations: 27.97 kB / 0.6672 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.1494, allocations: 248.9 kB / 0.6675 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1495, allocations: 50.38 kB / 0.6675 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.574e-05/0.1496, allocations: 20.91 kB / 0.6676 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.1498, allocations: 89.09 kB / 0.6676 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1498, allocations: 30.56 kB / 0.6677 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1498, allocations: 0 / 0.6677 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003618/0.1502, allocations: 85.64 kB / 0.6677 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.1503, allocations: 55.34 kB / 0.6678 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/0.1503, allocations: 101.8 kB / 0.6679 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1504, allocations: 25.7 kB / 0.6679 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.1504, allocations: 88.08 kB / 0.668 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.1504, allocations: 7.953 kB / 0.668 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.1505, allocations: 9.719 kB / 0.668 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1506, allocations: 323 kB / 0.6683 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.8e-05/0.1507, allocations: 15.97 kB / 0.6683 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.89e-05/0.1508, allocations: 15.98 kB / 0.6684 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1509, allocations: 36.83 kB / 0.6684 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.151, allocations: 3.938 kB / 0.6684 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002104/0.1512, allocations: 73.66 kB / 0.6685 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1512, allocations: 5.719 kB / 0.6685 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1512, allocations: 0 / 0.6685 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1512, allocations: 0 / 0.6685 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/0.1513, allocations: 11.98 kB / 0.6685 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1513, allocations: 4 kB / 0.6685 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.1514, allocations: 7.984 kB / 0.6685 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.1514, allocations: 32 / 0.6685 GB, free: 1.652 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 7.808e-05/0.1515, allocations: 117.8 kB / 0.6686 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.1515, allocations: 4 kB / 0.6686 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.1517, allocations: 68.73 kB / 0.6687 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1517, allocations: 0 / 0.6687 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1518, allocations: 0 / 0.6687 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1518, allocations: 0 / 0.6687 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.1519, allocations: 165.6 kB / 0.6688 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.152, allocations: 4 kB / 0.6688 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.152, allocations: 11.88 kB / 0.6689 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.152, allocations: 3.984 kB / 0.6689 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.152, allocations: 0 / 0.6689 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.152, allocations: 7.938 kB / 0.6689 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.152, allocations: 3.984 kB / 0.6689 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.1523, allocations: 167.5 kB / 0.669 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.1524, allocations: 77.11 kB / 0.6691 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1524, allocations: 0 / 0.6691 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.1525, allocations: 4 kB / 0.6691 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.1525, allocations: 3.984 kB / 0.6691 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1525, allocations: 0 / 0.6691 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.1526, allocations: 83.28 kB / 0.6692 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1526, allocations: 0 / 0.6692 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002387/0.1528, allocations: 15.97 kB / 0.6692 GB, free: 0.8242 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.0006336/0.1534, allocations: 0.7163 MB / 0.6699 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.1537, allocations: 35.95 kB / 0.6699 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1537, allocations: 0 / 0.6699 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/0.1538, allocations: 23.92 kB / 0.67 GB, free: 20 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.1541, allocations: 0 / 0.67 GB, free: 20 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/0.1545, allocations: 135.2 kB / 0.6701 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1548, allocations: 0.6768 MB / 0.6707 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.079e-05/0.1548, allocations: 0 / 0.6707 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.1548, allocations: 15.38 kB / 0.6708 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1548, allocations: 0 / 0.6708 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2871/0.4419, allocations: 1.503 MB / 0.6722 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.95/9.392, allocations: 15.06 kB / 0.6722 GB, free: 13.7 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)