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.0008035/0.0008035, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001252/0.001253, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7282/0.7282, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003202, allocations: 12.22 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3832, allocations: 81.58 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001524/0.3847, allocations: 1.14 MB / 0.5843 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003815/0.3851, allocations: 159.6 kB / 0.5844 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.3852, allocations: 0.7188 kB / 0.5844 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.3852, allocations: 0.6094 kB / 0.5844 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.3852, allocations: 4.781 kB / 0.5844 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.3855, allocations: 26.55 kB / 0.5844 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.949e-05/0.3856, allocations: 18.45 kB / 0.5845 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.966e-05/0.3857, allocations: 4.016 kB / 0.5845 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.3857, allocations: 11.89 kB / 0.5845 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.504e-05/0.3857, allocations: 14.27 kB / 0.5845 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.3858, allocations: 0.7188 kB / 0.5845 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.3859, allocations: 45.5 kB / 0.5845 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.3859, allocations: 1.312 kB / 0.5845 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.3859, allocations: 31.61 kB / 0.5846 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.734e-05/0.386, allocations: 34.72 kB / 0.5846 GB, free: 2.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.386, allocations: 0.7188 kB / 0.5846 GB, free: 2.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.386, allocations: 0 / 0.5846 GB, free: 2.945 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.3861, allocations: 0.625 kB / 0.5846 GB, free: 2.945 MB / 430.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.0003164/0.3864, allocations: 348.9 kB / 0.5849 GB, free: 2.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3864, allocations: 9.578 kB / 0.5849 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.263e-05/0.3864, allocations: 35.66 kB / 0.585 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.3865, allocations: 9.641 kB / 0.585 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.478e-05/0.3866, allocations: 162.3 kB / 0.5851 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.3866, allocations: 1.531 kB / 0.5851 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.3866, allocations: 0 / 0.5851 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.3867, allocations: 57.47 kB / 0.5852 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.3868, allocations: 5.25 kB / 0.5852 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.3868, allocations: 0 / 0.5852 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3868, allocations: 0.7031 kB / 0.5852 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.3869, allocations: 54.91 kB / 0.5853 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002237/0.3872, allocations: 250.5 kB / 0.5855 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.3873, allocations: 40.7 kB / 0.5855 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.3874, allocations: 32.45 kB / 0.5856 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.3875, allocations: 84.77 kB / 0.5856 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.3876, allocations: 31.94 kB / 0.5857 GB, free: 1.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3876, allocations: 3.938 kB / 0.5857 GB, free: 1.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003397/0.3879, allocations: 102.3 kB / 0.5858 GB, free: 1.777 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.3879, allocations: 56.56 kB / 0.5858 GB, free: 1.711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.388, allocations: 101.2 kB / 0.5859 GB, free: 1.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.388, allocations: 25.7 kB / 0.586 GB, free: 1.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.388, allocations: 85.95 kB / 0.586 GB, free: 1.492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.3881, allocations: 5.984 kB / 0.586 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-06/0.3881, allocations: 0 / 0.586 GB, free: 1.488 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.3881, allocations: 317.2 kB / 0.5863 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.3882, allocations: 18.94 kB / 0.5864 GB, free: 1.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.278e-05/0.3883, allocations: 27.92 kB / 0.5864 GB, free: 1.164 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.485e-05/0.3884, allocations: 17.59 kB / 0.5864 GB, free: 1.164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3884, allocations: 6.422 kB / 0.5864 GB, free: 1.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.3886, allocations: 75.36 kB / 0.5865 GB, free: 1.121 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3886, allocations: 5.688 kB / 0.5865 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3886, allocations: 0 / 0.5865 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3886, allocations: 1.094 kB / 0.5865 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.3887, allocations: 10.55 kB / 0.5865 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3887, allocations: 9.516 kB / 0.5865 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.3888, allocations: 12.14 kB / 0.5865 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.3888, allocations: 4.875 kB / 0.5865 GB, free: 1.105 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.3888, allocations: 111.9 kB / 0.5866 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.3889, allocations: 2.469 kB / 0.5866 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.3891, allocations: 88.84 kB / 0.5867 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3891, allocations: 0.9375 kB / 0.5867 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3891, allocations: 0 / 0.5867 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3891, allocations: 4.562 kB / 0.5867 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.3892, allocations: 159.9 kB / 0.5869 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3892, allocations: 0.6094 kB / 0.5869 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.3893, allocations: 10.95 kB / 0.5869 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3893, allocations: 1.797 kB / 0.5869 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3893, allocations: 0 / 0.5869 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3893, allocations: 0.7812 kB / 0.5869 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3893, allocations: 4 kB / 0.5869 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.3895, allocations: 181.2 kB / 0.5871 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.3896, allocations: 82.91 kB / 0.5871 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.3896, allocations: 0.6094 kB / 0.5871 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.3897, allocations: 12.67 kB / 0.5872 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.3897, allocations: 2.469 kB / 0.5872 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3897, allocations: 1.766 kB / 0.5872 GB, free: 496 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.877e-05/0.3897, allocations: 79.7 kB / 0.5872 GB, free: 420 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3897, allocations: 0 / 0.5872 GB, free: 420 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000233/0.39, allocations: 10.72 kB / 0.5872 GB, free: 420 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004785/0.3905, allocations: 0.7148 MB / 0.5879 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.3907, allocations: 53.19 kB / 0.588 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3907, allocations: 0 / 0.588 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.3908, allocations: 25.53 kB / 0.588 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.391, allocations: 2.234 kB / 0.588 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.3914, allocations: 140.5 kB / 0.5882 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.3916, allocations: 0.6837 MB / 0.5888 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.228e-05/0.3917, allocations: 5.203 kB / 0.5888 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.3917, allocations: 12.88 kB / 0.5888 GB, free: 14.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3917, allocations: 1.344 kB / 0.5888 GB, free: 14.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01049/0.4022, allocations: 1.233 MB / 0.59 GB, free: 14.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.4024, allocations: 178.4 kB / 0.5902 GB, free: 14.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.007, allocations: 4.938 kB / 0.5902 GB, free: 14.46 MB / 446.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/linux/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) Environment - environmentSimulation: