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.001124/0.001124, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.157/1.157, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6683/0.6683, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 64.16 kB / 0.5019 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.312, allocations: 80.2 MB / 0.5802 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002039/0.3141, allocations: 1.418 MB / 0.5816 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003164/0.3144, allocations: 156.5 kB / 0.5817 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.3145, allocations: 7.938 kB / 0.5817 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.3145, allocations: 5.969 kB / 0.5817 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.026e-05/0.3145, allocations: 0 / 0.5817 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.3148, allocations: 42.78 kB / 0.5818 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.334e-05/0.3148, allocations: 22.16 kB / 0.5818 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.786e-05/0.3149, allocations: 4.484 kB / 0.5818 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.3149, allocations: 13.98 kB / 0.5818 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.906e-05/0.315, allocations: 13.44 kB / 0.5818 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.315, allocations: 5.875 kB / 0.5818 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3151, allocations: 38.27 kB / 0.5819 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-06/0.3151, allocations: 1.984 kB / 0.5819 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.3151, allocations: 11.14 kB / 0.5819 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.3152, allocations: 44.95 kB / 0.5819 GB, free: 3.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3152, allocations: 0.7969 kB / 0.5819 GB, free: 3.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3152, allocations: 3.938 kB / 0.5819 GB, free: 3.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.3153, allocations: 1.25 kB / 0.5819 GB, free: 3.352 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.0002913/0.3156, allocations: 344.6 kB / 0.5823 GB, free: 2.988 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.3156, allocations: 13.06 kB / 0.5823 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.14e-05/0.3156, allocations: 32.42 kB / 0.5823 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.3157, allocations: 1.875 kB / 0.5823 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.998e-05/0.3157, allocations: 167.5 kB / 0.5825 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-06/0.3157, allocations: 1.438 kB / 0.5825 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.3157, allocations: 6.219 kB / 0.5825 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.3159, allocations: 48.62 kB / 0.5825 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.3159, allocations: 3.938 kB / 0.5825 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.3159, allocations: 4.812 kB / 0.5825 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3159, allocations: 5.25 kB / 0.5825 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.3161, allocations: 35.69 kB / 0.5826 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.3163, allocations: 247.5 kB / 0.5828 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.3164, allocations: 40.5 kB / 0.5828 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.3165, allocations: 26.44 kB / 0.5829 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.3166, allocations: 91.5 kB / 0.583 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.468e-06/0.3166, allocations: 32.16 kB / 0.583 GB, free: 2.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3166, allocations: 0 / 0.583 GB, free: 2.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000305/0.3169, allocations: 80.17 kB / 0.5831 GB, free: 2.191 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.533e-05/0.3169, allocations: 56.33 kB / 0.5831 GB, free: 2.125 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.836e-05/0.317, allocations: 101.5 kB / 0.5832 GB, free: 2.023 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.317, allocations: 25.7 kB / 0.5832 GB, free: 1.992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.634e-05/0.317, allocations: 85.72 kB / 0.5833 GB, free: 1.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.317, allocations: 5.641 kB / 0.5833 GB, free: 1.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.3171, allocations: 13.31 kB / 0.5833 GB, free: 1.887 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.098e-05/0.3171, allocations: 313.3 kB / 0.5836 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.3172, allocations: 25.64 kB / 0.5837 GB, free: 1.562 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.3172, allocations: 14.34 kB / 0.5837 GB, free: 1.562 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.3174, allocations: 44.83 kB / 0.5837 GB, free: 1.543 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3174, allocations: 4.781 kB / 0.5837 GB, free: 1.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001825/0.3176, allocations: 67.56 kB / 0.5838 GB, free: 1.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/0.3176, allocations: 4.25 kB / 0.5838 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.3176, allocations: 1.062 kB / 0.5838 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3176, allocations: 4.656 kB / 0.5838 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.657e-05/0.3177, allocations: 8.562 kB / 0.5838 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.3177, allocations: 1.281 kB / 0.5838 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.3177, allocations: 5.547 kB / 0.5838 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-06/0.3178, allocations: 1.891 kB / 0.5838 GB, free: 1.496 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.3178, allocations: 116.2 kB / 0.5839 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.3178, allocations: 5 kB / 0.5839 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.318, allocations: 74.83 kB / 0.584 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.318, allocations: 1.922 kB / 0.584 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.318, allocations: 0 / 0.584 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.318, allocations: 0 / 0.584 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.413e-05/0.3181, allocations: 159.4 kB / 0.5842 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3182, allocations: 1.422 kB / 0.5842 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.3182, allocations: 12.58 kB / 0.5842 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3182, allocations: 0.9375 kB / 0.5842 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.3182, allocations: 0.7031 kB / 0.5842 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3182, allocations: 1.25 kB / 0.5842 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3182, allocations: 0 / 0.5842 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.3184, allocations: 166.5 kB / 0.5843 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.3184, allocations: 82.95 kB / 0.5844 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.3185, allocations: 1.953 kB / 0.5844 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.3185, allocations: 6.078 kB / 0.5844 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.3186, allocations: 2.094 kB / 0.5844 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.3186, allocations: 0.7031 kB / 0.5844 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.864e-05/0.3186, allocations: 92.14 kB / 0.5845 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3186, allocations: 0 / 0.5845 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.3188, allocations: 10.45 kB / 0.5845 GB, free: 0.7969 MB / 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 (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.0003648/0.3192, allocations: 0.7108 MB / 0.5852 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.3194, allocations: 42.47 kB / 0.5853 GB, free: 112 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.3194, allocations: 0.75 kB / 0.5853 GB, free: 112 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.3195, allocations: 21.09 kB / 0.5853 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.3197, allocations: 6.562 kB / 0.5853 GB, free: 104 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.32, allocations: 140.3 kB / 0.5854 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.3202, allocations: 0.6802 MB / 0.5861 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.825e-05/0.3202, allocations: 1.328 kB / 0.5861 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.3203, allocations: 13.53 kB / 0.5861 GB, free: 15.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3203, allocations: 0 / 0.5861 GB, free: 15.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.98/4.3, allocations: 1.469 MB / 0.5875 GB, free: 14.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.872/13.17, allocations: 5.281 kB / 0.5875 GB, free: 14.88 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/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)