Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_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.001567/0.001567, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001989/0.001989, allocations: 195.4 kB / 16.25 MB, free: 6.617 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.322/1.322, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7404/0.7404, allocations: 132.2 MB / 422.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64.42 kB / 0.5014 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.141, allocations: 80.21 MB / 0.5797 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002311/0.1434, allocations: 1.481 MB / 0.5811 GB, free: 7.531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003804/0.1438, allocations: 168.3 kB / 0.5813 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.104e-05/0.1438, allocations: 0 / 0.5813 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.1439, allocations: 7.875 kB / 0.5813 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.243e-05/0.1439, allocations: 0 / 0.5813 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.1442, allocations: 35.92 kB / 0.5813 GB, free: 7.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.61e-05/0.1442, allocations: 15.98 kB / 0.5813 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.987e-05/0.1443, allocations: 11.98 kB / 0.5814 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.247e-05/0.1444, allocations: 11.92 kB / 0.5814 GB, free: 7.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.139e-05/0.1444, allocations: 11.94 kB / 0.5814 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1444, allocations: 4 kB / 0.5814 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1445, allocations: 43.89 kB / 0.5814 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.1445, allocations: 4 kB / 0.5814 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.1446, allocations: 11.94 kB / 0.5814 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1447, allocations: 47.86 kB / 0.5815 GB, free: 7.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1447, allocations: 0 / 0.5815 GB, free: 7.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1447, allocations: 0 / 0.5815 GB, free: 7.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1447, allocations: 0 / 0.5815 GB, free: 7.16 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.0003772/0.1451, allocations: 347.7 kB / 0.5818 GB, free: 6.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1451, allocations: 12.03 kB / 0.5818 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.749e-05/0.1452, allocations: 30.75 kB / 0.5819 GB, free: 6.719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.1452, allocations: 4.938 kB / 0.5819 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.925e-05/0.1453, allocations: 164.3 kB / 0.582 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1453, allocations: 4.375 kB / 0.582 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.1453, allocations: 4.359 kB / 0.582 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1455, allocations: 50.19 kB / 0.5821 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1455, allocations: 3.938 kB / 0.5821 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.1455, allocations: 0 / 0.5821 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1455, allocations: 8 kB / 0.5821 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1457, allocations: 31.95 kB / 0.5821 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.1459, allocations: 244.9 kB / 0.5824 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1461, allocations: 42.47 kB / 0.5824 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.966e-05/0.1462, allocations: 28.91 kB / 0.5824 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.1463, allocations: 85.09 kB / 0.5825 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.1463, allocations: 30.56 kB / 0.5825 GB, free: 5.898 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1464, allocations: 0 / 0.5825 GB, free: 5.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003254/0.1467, allocations: 81.73 kB / 0.5826 GB, free: 5.812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.1467, allocations: 55.44 kB / 0.5827 GB, free: 5.746 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.474e-05/0.1468, allocations: 101.8 kB / 0.5828 GB, free: 5.637 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1468, allocations: 25.7 kB / 0.5828 GB, free: 5.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.1468, allocations: 88.12 kB / 0.5829 GB, free: 5.516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.1469, allocations: 11.84 kB / 0.5829 GB, free: 5.504 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.1469, allocations: 13.66 kB / 0.5829 GB, free: 5.484 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.147, allocations: 314.8 kB / 0.5832 GB, free: 5.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.1471, allocations: 23.97 kB / 0.5832 GB, free: 5.145 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.1472, allocations: 15.92 kB / 0.5832 GB, free: 5.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1473, allocations: 36.83 kB / 0.5833 GB, free: 5.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.1473, allocations: 3.938 kB / 0.5833 GB, free: 5.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001866/0.1475, allocations: 73.72 kB / 0.5833 GB, free: 5.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.1475, allocations: 4 kB / 0.5833 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1475, allocations: 0 / 0.5833 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.1475, allocations: 0 / 0.5833 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/0.1476, allocations: 15.92 kB / 0.5834 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.1476, allocations: 0 / 0.5834 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.1477, allocations: 7.984 kB / 0.5834 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.1477, allocations: 0 / 0.5834 GB, free: 4.98 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.985e-05/0.1478, allocations: 113.8 kB / 0.5835 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.1478, allocations: 7.906 kB / 0.5835 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.148, allocations: 68.78 kB / 0.5835 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.148, allocations: 192 / 0.5835 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.148, allocations: 0 / 0.5835 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.148, allocations: 7.984 kB / 0.5836 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.1482, allocations: 165.5 kB / 0.5837 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1482, allocations: 0 / 0.5837 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.587e-05/0.1482, allocations: 8.031 kB / 0.5837 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1482, allocations: 0 / 0.5837 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.1483, allocations: 0 / 0.5837 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1483, allocations: 11.92 kB / 0.5837 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1483, allocations: 0 / 0.5837 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1485, allocations: 163.5 kB / 0.5839 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.1485, allocations: 81.14 kB / 0.584 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.1486, allocations: 4 kB / 0.584 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.1486, allocations: 4 kB / 0.584 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.1487, allocations: 3.984 kB / 0.584 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1487, allocations: 0 / 0.584 GB, free: 4.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.371e-05/0.1487, allocations: 83.28 kB / 0.5841 GB, free: 4.168 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1487, allocations: 0 / 0.5841 GB, free: 4.168 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.149, allocations: 12 kB / 0.5841 GB, free: 4.156 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.0005007/0.1495, allocations: 0.7162 MB / 0.5848 GB, free: 3.414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1497, allocations: 36 kB / 0.5848 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1497, allocations: 0 / 0.5848 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.1497, allocations: 19.97 kB / 0.5848 GB, free: 3.359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.15, allocations: 4 kB / 0.5848 GB, free: 3.355 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.1504, allocations: 150.9 kB / 0.585 GB, free: 3.168 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.1506, allocations: 0.6808 MB / 0.5856 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.052e-05/0.1506, allocations: 0 / 0.5856 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.1507, allocations: 7.438 kB / 0.5856 GB, free: 2.453 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1507, allocations: 4 kB / 0.5856 GB, free: 2.449 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00961/0.1603, allocations: 1.342 MB / 0.587 GB, free: 1.242 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.1605, allocations: 192.9 kB / 0.5871 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/1.999, allocations: 0 / 0.5871 GB, free: 0.9844 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)