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.001775/0.001776, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001925/0.001925, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.644/2.644, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.397/1.397, allocations: 132.2 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006265/0.0006265, allocations: 11.98 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.8058, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002559/0.8084, allocations: 1.139 MB / 0.5841 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005649/0.809, allocations: 156.5 kB / 0.5842 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.8091, allocations: 0.9375 kB / 0.5842 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.8091, allocations: 1.781 kB / 0.5842 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6e-05/0.8092, allocations: 1.031 kB / 0.5842 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.8096, allocations: 32.66 kB / 0.5843 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.643e-05/0.8097, allocations: 18.98 kB / 0.5843 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.8098, allocations: 3.297 kB / 0.5843 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.897e-05/0.8099, allocations: 4.781 kB / 0.5843 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.8099, allocations: 13.08 kB / 0.5843 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.8099, allocations: 1.062 kB / 0.5843 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.8102, allocations: 38.36 kB / 0.5843 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.8102, allocations: 13.33 kB / 0.5843 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.8102, allocations: 26.73 kB / 0.5844 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.8104, allocations: 31.84 kB / 0.5844 GB, free: 2.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.8104, allocations: 4 kB / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.8104, allocations: 0 / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.8105, allocations: 3.938 kB / 0.5844 GB, free: 2.977 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.0005389/0.811, allocations: 343.5 kB / 0.5847 GB, free: 2.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.8111, allocations: 10.81 kB / 0.5847 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.584e-05/0.8111, allocations: 30.56 kB / 0.5848 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.8112, allocations: 6.781 kB / 0.5848 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.931e-05/0.8113, allocations: 169.6 kB / 0.5849 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.8114, allocations: 0.8125 kB / 0.5849 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.8114, allocations: 1.125 kB / 0.5849 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.8117, allocations: 57.5 kB / 0.585 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.8117, allocations: 0 / 0.585 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.8117, allocations: 0 / 0.585 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.8117, allocations: 0.7188 kB / 0.585 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.8121, allocations: 46.81 kB / 0.585 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.8125, allocations: 255 kB / 0.5853 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.8127, allocations: 48.45 kB / 0.5853 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.813, allocations: 84.86 kB / 0.5854 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.813, allocations: 35.89 kB / 0.5855 GB, free: 1.875 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.813, allocations: 0 / 0.5855 GB, free: 1.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006705/0.8137, allocations: 103.1 kB / 0.5855 GB, free: 1.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.8138, allocations: 52.34 kB / 0.5856 GB, free: 1.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.049e-05/0.8139, allocations: 104.3 kB / 0.5857 GB, free: 1.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.8139, allocations: 25.7 kB / 0.5857 GB, free: 1.629 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.8139, allocations: 90.06 kB / 0.5858 GB, free: 1.539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.814, allocations: 5.625 kB / 0.5858 GB, free: 1.535 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.814, allocations: 4.906 kB / 0.5858 GB, free: 1.531 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.8141, allocations: 313.9 kB / 0.5861 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.8143, allocations: 18.02 kB / 0.5861 GB, free: 1.219 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.8144, allocations: 35.53 kB / 0.5862 GB, free: 1.203 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.8146, allocations: 18.14 kB / 0.5862 GB, free: 1.203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8146, allocations: 0 / 0.5862 GB, free: 1.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004159/0.8151, allocations: 81.92 kB / 0.5863 GB, free: 1.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.8151, allocations: 5.062 kB / 0.5863 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.8151, allocations: 0 / 0.5863 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.8151, allocations: 1.359 kB / 0.5863 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.8153, allocations: 11.77 kB / 0.5863 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8153, allocations: 0 / 0.5863 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.625e-05/0.8154, allocations: 13.53 kB / 0.5863 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.8154, allocations: 3.953 kB / 0.5863 GB, free: 1.152 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 7.506e-05/0.8155, allocations: 109 kB / 0.5864 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.8156, allocations: 2.266 kB / 0.5864 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004105/0.816, allocations: 91.02 kB / 0.5865 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.8161, allocations: 0.7188 kB / 0.5865 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.8161, allocations: 5.406 kB / 0.5865 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.8161, allocations: 0 / 0.5865 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.8163, allocations: 159.7 kB / 0.5866 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.8163, allocations: 1.219 kB / 0.5867 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.8165, allocations: 11 kB / 0.5867 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.8165, allocations: 0.9062 kB / 0.5867 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.8165, allocations: 0.7969 kB / 0.5867 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.8165, allocations: 4.938 kB / 0.5867 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8165, allocations: 0 / 0.5867 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.817, allocations: 179.7 kB / 0.5868 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.817, allocations: 82.7 kB / 0.5869 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.8171, allocations: 1.562 kB / 0.5869 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.8172, allocations: 8.297 kB / 0.5869 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.8173, allocations: 3.125 kB / 0.5869 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.8173, allocations: 0.8438 kB / 0.5869 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.297e-05/0.8174, allocations: 80.42 kB / 0.587 GB, free: 472 kB / 430.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8174, allocations: 0 / 0.587 GB, free: 472 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004873/0.8179, allocations: 14.61 kB / 0.587 GB, free: 468 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.0009358/0.8188, allocations: 0.7188 MB / 0.5877 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003877/0.8192, allocations: 52.64 kB / 0.5878 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8193, allocations: 0 / 0.5878 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.8195, allocations: 25.89 kB / 0.5878 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.8198, allocations: 11.03 kB / 0.5878 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.8205, allocations: 140.2 kB / 0.5879 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.8209, allocations: 0.6829 MB / 0.5886 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.944e-05/0.821, allocations: 4.812 kB / 0.5886 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.821, allocations: 8.969 kB / 0.5886 GB, free: 14.89 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.821, allocations: 0.5625 kB / 0.5886 GB, free: 14.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.8416, allocations: 1.227 MB / 0.5898 GB, free: 14.75 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003249/0.842, allocations: 174.3 kB / 0.59 GB, free: 14.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/3.491, allocations: 4 kB / 0.59 GB, free: 14.5 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: