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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8562/0.8562, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.5 MB / 395.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 96.27 kB / 478.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.102e-05, allocations: 8 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5213/0.5214, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.673, allocations: 110.8 MB / 0.7421 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.6733, allocations: 71.95 kB / 0.7422 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003228/0.6765, allocations: 1.037 MB / 0.7432 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6766, allocations: 4 kB / 0.7432 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.6766, allocations: 0 / 0.7432 GB, free: 10.77 MB / 0.5261 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.000361/0.677, allocations: 354.4 kB / 0.7435 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.677, allocations: 12.03 kB / 0.7435 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.6771, allocations: 7.891 kB / 0.7435 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.6772, allocations: 167 kB / 0.7437 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.6772, allocations: 0 / 0.7437 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.6772, allocations: 0 / 0.7437 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.594e-05/0.6773, allocations: 4 kB / 0.7437 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.094e-05/0.6774, allocations: 45.69 kB / 0.7437 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6774, allocations: 0 / 0.7437 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.6774, allocations: 0 / 0.7437 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.6774, allocations: 0 / 0.7437 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.6778, allocations: 245.4 kB / 0.744 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.148e-05/0.6779, allocations: 30.52 kB / 0.744 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.6779, allocations: 8.922 kB / 0.744 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.6781, allocations: 89.09 kB / 0.7441 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.6781, allocations: 34.56 kB / 0.7441 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6781, allocations: 0 / 0.7441 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001813/0.6783, allocations: 41.69 kB / 0.7442 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.6783, allocations: 51.41 kB / 0.7442 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.6784, allocations: 93.03 kB / 0.7443 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.6784, allocations: 29.64 kB / 0.7443 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.6785, allocations: 84.14 kB / 0.7444 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.6785, allocations: 11.78 kB / 0.7444 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.6785, allocations: 4 kB / 0.7444 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.6786, allocations: 318.8 kB / 0.7447 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.6786, allocations: 4 kB / 0.7447 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.398e-06/0.6787, allocations: 4 kB / 0.7448 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.6787, allocations: 8.062 kB / 0.7448 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.6787, allocations: 0 / 0.7448 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.548e-05/0.6788, allocations: 41.61 kB / 0.7448 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6788, allocations: 8 kB / 0.7448 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.6788, allocations: 0 / 0.7448 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.6788, allocations: 0 / 0.7448 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.679, allocations: 11.98 kB / 0.7448 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.679, allocations: 0 / 0.7448 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.121e-05/0.6791, allocations: 16.02 kB / 0.7448 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.6791, allocations: 0 / 0.7448 GB, free: 8.859 MB / 0.5261 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 (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 6.331e-05/0.6791, allocations: 104.9 kB / 0.7449 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.286e-05/0.6792, allocations: 49.62 kB / 0.745 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.6793, allocations: 0 / 0.745 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.836e-05/0.6794, allocations: 45.62 kB / 0.745 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.6794, allocations: 4 kB / 0.745 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6794, allocations: 4.047 kB / 0.745 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.6794, allocations: 4 kB / 0.745 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.6795, allocations: 138.2 kB / 0.7452 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6795, allocations: 0 / 0.7452 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.6796, allocations: 15.98 kB / 0.7452 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6796, allocations: 3.938 kB / 0.7452 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.6796, allocations: 0 / 0.7452 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.6796, allocations: 0 / 0.7452 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6797, allocations: 0 / 0.7452 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.6798, allocations: 147.5 kB / 0.7453 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.6798, allocations: 81.02 kB / 0.7454 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.6798, allocations: 0 / 0.7454 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.097e-05/0.6799, allocations: 15.92 kB / 0.7454 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.68, allocations: 0 / 0.7454 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.68, allocations: 0 / 0.7454 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.68, allocations: 79.28 kB / 0.7455 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.68, allocations: 7.969 kB / 0.7455 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002263/0.6803, allocations: 16 kB / 0.7455 GB, free: 8.07 MB / 0.5261 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 (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.0004786/0.6807, allocations: 0.6967 MB / 0.7462 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.915e-05/0.6808, allocations: 12 kB / 0.7462 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.6808, allocations: 0 / 0.7462 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-05/0.6809, allocations: 4 kB / 0.7462 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.681, allocations: 6.031 kB / 0.7462 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.6814, allocations: 101.5 kB / 0.7463 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.6816, allocations: 0.6768 MB / 0.747 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.441e-05/0.6816, allocations: 12.09 kB / 0.747 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.6817, allocations: 15.44 kB / 0.747 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of SimCode: time 2.1e-07/0.6817, allocations: 0 / 0.747 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.7005, allocations: 0.9092 MB / 0.7479 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.7008, allocations: 127.5 kB / 0.748 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/2.124, allocations: 0 / 0.748 GB, free: 5.371 MB / 0.5261 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/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)