Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7459/0.7459, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000878/0.0008781, allocations: 94.7 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.242e-05/5.251e-05, allocations: 8.609 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.161, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5582/0.7193, allocations: 110.7 MB / 0.7486 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.7195, allocations: 73.98 kB / 0.7487 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002575/0.7221, allocations: 0.7517 MB / 0.7494 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7222, allocations: 3.875 kB / 0.7494 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7222, allocations: 0 / 0.7494 GB, free: 27.71 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002587/0.7224, allocations: 321.4 kB / 0.7497 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.7225, allocations: 7.781 kB / 0.7497 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.7225, allocations: 34.5 kB / 0.7498 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.7226, allocations: 3.781 kB / 0.7498 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.17e-05/0.7227, allocations: 163 kB / 0.7499 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.7227, allocations: 1.75 kB / 0.7499 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.7227, allocations: 4 kB / 0.7499 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.7228, allocations: 28.7 kB / 0.75 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7228, allocations: 3.781 kB / 0.75 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.7228, allocations: 0 / 0.75 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.7228, allocations: 0 / 0.75 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.7229, allocations: 0 / 0.75 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.723, allocations: 149.3 kB / 0.7501 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.509e-05/0.723, allocations: 22.36 kB / 0.7501 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.7231, allocations: 8.859 kB / 0.7501 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.7232, allocations: 94.84 kB / 0.7502 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.7233, allocations: 30.56 kB / 0.7503 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.7233, allocations: 0 / 0.7503 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.7234, allocations: 29.55 kB / 0.7503 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.7235, allocations: 51.41 kB / 0.7503 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.273e-05/0.7235, allocations: 89.03 kB / 0.7504 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.7235, allocations: 33.58 kB / 0.7505 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.7235, allocations: 80.14 kB / 0.7505 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.7236, allocations: 4.688 kB / 0.7505 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-06/0.7236, allocations: 3.844 kB / 0.7505 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.7237, allocations: 313.7 kB / 0.7508 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-06/0.7237, allocations: 3.938 kB / 0.7508 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-06/0.7237, allocations: 0 / 0.7508 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.705e-05/0.7237, allocations: 7.875 kB / 0.7509 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7237, allocations: 0 / 0.7509 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.576e-05/0.7238, allocations: 33.53 kB / 0.7509 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.7238, allocations: 10.86 kB / 0.7509 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7238, allocations: 0 / 0.7509 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.7239, allocations: 6.312 kB / 0.7509 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.084e-05/0.7239, allocations: 0 / 0.7509 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.7239, allocations: 0 / 0.7509 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-06/0.7239, allocations: 0 / 0.7509 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.724, allocations: 0 / 0.7509 GB, free: 26.05 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.545e-05/0.724, allocations: 114.7 kB / 0.751 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.7241, allocations: 3.953 kB / 0.751 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.434e-05/0.7241, allocations: 39.47 kB / 0.7511 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7241, allocations: 3.984 kB / 0.7511 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7242, allocations: 0 / 0.7511 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.7242, allocations: 0 / 0.7511 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.864e-05/0.7243, allocations: 148.1 kB / 0.7512 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.7243, allocations: 0 / 0.7512 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.7243, allocations: 0 / 0.7512 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.7243, allocations: 7.984 kB / 0.7512 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.7243, allocations: 0 / 0.7512 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7243, allocations: 3.812 kB / 0.7512 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7243, allocations: 0 / 0.7512 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.7244, allocations: 59.55 kB / 0.7513 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.7245, allocations: 77.11 kB / 0.7513 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.7245, allocations: 13.06 kB / 0.7514 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-06/0.7245, allocations: 0 / 0.7514 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.7245, allocations: 4.031 kB / 0.7514 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.7245, allocations: 0 / 0.7514 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.056e-05/0.7246, allocations: 79.22 kB / 0.7514 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7246, allocations: 0 / 0.7514 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002056/0.7248, allocations: 19.41 kB / 0.7514 GB, free: 25.45 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0004888/0.7253, allocations: 0.6096 MB / 0.752 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.97e-05/0.7254, allocations: 3.906 kB / 0.752 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7254, allocations: 0 / 0.752 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-06/0.7254, allocations: 3.906 kB / 0.7521 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.15e-05/0.7255, allocations: 7.672 kB / 0.7521 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.7257, allocations: 89.81 kB / 0.7521 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.726, allocations: 0.676 MB / 0.7528 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.261e-05/0.726, allocations: 3.938 kB / 0.7528 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.294e-05/0.726, allocations: 7.438 kB / 0.7528 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of SimCode: time 3.01e-07/0.726, allocations: 0 / 0.7528 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.738, allocations: 0.9413 MB / 0.7537 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.7382, allocations: 157 kB / 0.7539 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.375/2.113, allocations: 0 / 0.7539 GB, free: 23.65 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)