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.004942/0.004942, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001267/0.001267, allocations: 201.7 kB / 16.68 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7611/0.7611, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 67.89 kB / 0.5809 GB, free: 8.059 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3568, allocations: 80.21 MB / 0.6592 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002114/0.359, allocations: 1.422 MB / 0.6606 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000355/0.3593, allocations: 167.4 kB / 0.6608 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.3594, allocations: 5.562 kB / 0.6608 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.3594, allocations: 0 / 0.6608 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.333e-05/0.3595, allocations: 4.688 kB / 0.6608 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.3597, allocations: 34.16 kB / 0.6608 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.388e-05/0.3598, allocations: 22.98 kB / 0.6608 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.3599, allocations: 5.625 kB / 0.6608 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.318e-05/0.3599, allocations: 12.84 kB / 0.6608 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.229e-05/0.3599, allocations: 9.578 kB / 0.6608 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.36, allocations: 1.562 kB / 0.6608 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.3601, allocations: 49.67 kB / 0.6609 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.3601, allocations: 6.625 kB / 0.6609 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.3601, allocations: 10.44 kB / 0.6609 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.3602, allocations: 44.61 kB / 0.661 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3603, allocations: 0.6094 kB / 0.661 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3603, allocations: 0 / 0.661 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3603, allocations: 1.375 kB / 0.661 GB, free: 8.676 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.0003332/0.3606, allocations: 342.4 kB / 0.6613 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.3606, allocations: 9.625 kB / 0.6613 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.461e-05/0.3607, allocations: 40.72 kB / 0.6613 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.3607, allocations: 2.312 kB / 0.6613 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.082e-05/0.3608, allocations: 163.7 kB / 0.6615 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.3608, allocations: 5.688 kB / 0.6615 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.3608, allocations: 384 / 0.6615 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.361, allocations: 54.31 kB / 0.6615 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.361, allocations: 3.938 kB / 0.6615 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.361, allocations: 0 / 0.6615 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.361, allocations: 1.375 kB / 0.6615 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.3612, allocations: 36.05 kB / 0.6616 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.3614, allocations: 250.8 kB / 0.6618 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.3615, allocations: 40.39 kB / 0.6619 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.149e-05/0.3616, allocations: 27.64 kB / 0.6619 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.3618, allocations: 84.5 kB / 0.662 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.3618, allocations: 32.12 kB / 0.662 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3618, allocations: 0 / 0.662 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003383/0.3621, allocations: 80.36 kB / 0.6621 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.3622, allocations: 51.53 kB / 0.6621 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.115e-05/0.3622, allocations: 106.5 kB / 0.6622 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.3622, allocations: 25.7 kB / 0.6623 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.171e-05/0.3623, allocations: 81.92 kB / 0.6623 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.3623, allocations: 13.69 kB / 0.6623 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.3623, allocations: 16.03 kB / 0.6624 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.782e-05/0.3623, allocations: 313.1 kB / 0.6627 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.3624, allocations: 17.77 kB / 0.6627 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/0.3625, allocations: 19.72 kB / 0.6627 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.3627, allocations: 39.92 kB / 0.6627 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3627, allocations: 3.938 kB / 0.6627 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001856/0.3629, allocations: 67.61 kB / 0.6628 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.3629, allocations: 9.062 kB / 0.6628 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3629, allocations: 1.984 kB / 0.6628 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3629, allocations: 0 / 0.6628 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.363, allocations: 8.438 kB / 0.6628 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.363, allocations: 5.094 kB / 0.6628 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.363, allocations: 5.594 kB / 0.6628 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.363, allocations: 1.344 kB / 0.6628 GB, free: 6.82 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 4.324e-05/0.3631, allocations: 115.8 kB / 0.6629 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.3631, allocations: 6.125 kB / 0.6629 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.3633, allocations: 75.31 kB / 0.663 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3633, allocations: 1.094 kB / 0.663 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3634, allocations: 0 / 0.663 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3634, allocations: 0 / 0.663 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.3635, allocations: 160.7 kB / 0.6632 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3635, allocations: 0.7031 kB / 0.6632 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.3635, allocations: 7.875 kB / 0.6632 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3635, allocations: 9.625 kB / 0.6632 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.3635, allocations: 0 / 0.6632 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3636, allocations: 1.125 kB / 0.6632 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3636, allocations: 8.438 kB / 0.6632 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.3638, allocations: 162.6 kB / 0.6634 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.3638, allocations: 78.39 kB / 0.6634 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.3638, allocations: 6.156 kB / 0.6634 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.3639, allocations: 6.281 kB / 0.6634 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.3639, allocations: 1.719 kB / 0.6634 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.3639, allocations: 1.906 kB / 0.6634 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.852e-05/0.3639, allocations: 83.25 kB / 0.6635 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.364, allocations: 1.219 kB / 0.6635 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002184/0.3642, allocations: 9.688 kB / 0.6635 GB, free: 6.117 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.0004166/0.3646, allocations: 0.7181 MB / 0.6642 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3648, allocations: 39.92 kB / 0.6643 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3648, allocations: 0 / 0.6643 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.897e-05/0.3649, allocations: 15.16 kB / 0.6643 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.3652, allocations: 7.312 kB / 0.6643 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.3655, allocations: 133.5 kB / 0.6644 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.154e-05/0.3656, allocations: 0.6766 MB / 0.6651 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.044e-05/0.3656, allocations: 5.875 kB / 0.6651 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.3656, allocations: 9.25 kB / 0.6651 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.3656, allocations: 0 / 0.6651 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1482/0.5138, allocations: 1.512 MB / 0.6666 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.642, allocations: 3.844 kB / 0.6666 GB, free: 3.855 MB / 0.4981 GB (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)