Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_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.005872/0.005873, allocations: 103.9 kB / 15.73 MB, free: 6.035 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.001199/0.001199, allocations: 195.7 kB / 16.67 MB, free: 5.969 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9657/0.9657, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4434, allocations: 80.91 MB / 0.6642 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002529/0.446, allocations: 1.44 MB / 0.6656 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003989/0.4465, allocations: 156.4 kB / 0.6657 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.4465, allocations: 0 / 0.6657 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.4465, allocations: 7.922 kB / 0.6657 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.506e-05/0.4466, allocations: 5.391 kB / 0.6657 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.4469, allocations: 36.91 kB / 0.6658 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.583e-05/0.447, allocations: 13.31 kB / 0.6658 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.331e-05/0.4471, allocations: 14.7 kB / 0.6658 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.4471, allocations: 7.656 kB / 0.6658 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.78e-05/0.4471, allocations: 14.72 kB / 0.6658 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.4472, allocations: 2.719 kB / 0.6658 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.4473, allocations: 45.41 kB / 0.6659 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.4473, allocations: 5.25 kB / 0.6659 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.4473, allocations: 5.406 kB / 0.6659 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.4475, allocations: 47.48 kB / 0.6659 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4475, allocations: 1.656 kB / 0.6659 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4475, allocations: 4 kB / 0.6659 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.4475, allocations: 0 / 0.6659 GB, free: 5.891 MB / 0.4981 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.0003695/0.4479, allocations: 339.9 kB / 0.6662 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4479, allocations: 10.66 kB / 0.6663 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.187e-05/0.4479, allocations: 38.62 kB / 0.6663 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.448, allocations: 6.094 kB / 0.6663 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.102e-05/0.4481, allocations: 169.6 kB / 0.6665 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.4481, allocations: 1.688 kB / 0.6665 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.4481, allocations: 1.812 kB / 0.6665 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.4483, allocations: 53.05 kB / 0.6665 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4483, allocations: 3.938 kB / 0.6665 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.4483, allocations: 1.406 kB / 0.6665 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4483, allocations: 0 / 0.6665 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.4485, allocations: 34.34 kB / 0.6665 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.4488, allocations: 252.8 kB / 0.6668 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.4489, allocations: 43.19 kB / 0.6668 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.449, allocations: 23.62 kB / 0.6669 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.4491, allocations: 83.91 kB / 0.6669 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.4492, allocations: 32.22 kB / 0.667 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4492, allocations: 0 / 0.667 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003586/0.4495, allocations: 87.58 kB / 0.667 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.4496, allocations: 52.47 kB / 0.6671 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/0.4496, allocations: 102.8 kB / 0.6672 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.4496, allocations: 26.98 kB / 0.6672 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.4497, allocations: 80.14 kB / 0.6673 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.4497, allocations: 5.219 kB / 0.6673 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.4497, allocations: 20.59 kB / 0.6673 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.53e-05/0.4498, allocations: 316.2 kB / 0.6676 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.4499, allocations: 12.05 kB / 0.6676 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.4499, allocations: 17.58 kB / 0.6677 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.4501, allocations: 44.25 kB / 0.6677 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4501, allocations: 3.938 kB / 0.6677 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/0.4503, allocations: 67.67 kB / 0.6678 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4503, allocations: 5.906 kB / 0.6678 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4503, allocations: 0 / 0.6678 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4503, allocations: 0.9375 kB / 0.6678 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.4504, allocations: 14.39 kB / 0.6678 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4504, allocations: 0 / 0.6678 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.505e-05/0.4505, allocations: 11.92 kB / 0.6678 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.4505, allocations: 4 kB / 0.6678 GB, free: 3.922 MB / 0.4981 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 () * 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 4.711e-05/0.4506, allocations: 116.7 kB / 0.6679 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.4506, allocations: 0 / 0.6679 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.4508, allocations: 74.41 kB / 0.668 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4508, allocations: 1.5 kB / 0.668 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4508, allocations: 32 / 0.668 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4508, allocations: 4 kB / 0.668 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.451, allocations: 163.2 kB / 0.6681 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.451, allocations: 0 / 0.6681 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.451, allocations: 9.953 kB / 0.6682 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.451, allocations: 0 / 0.6682 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.451, allocations: 1.281 kB / 0.6682 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.451, allocations: 0 / 0.6682 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.451, allocations: 0 / 0.6682 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.4513, allocations: 164 kB / 0.6683 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.4513, allocations: 77.3 kB / 0.6684 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.4513, allocations: 9.406 kB / 0.6684 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.4514, allocations: 7.641 kB / 0.6684 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.4514, allocations: 9.078 kB / 0.6684 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.4514, allocations: 1.188 kB / 0.6684 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.101e-05/0.4515, allocations: 78.22 kB / 0.6685 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4515, allocations: 4.031 kB / 0.6685 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002305/0.4517, allocations: 13.41 kB / 0.6685 GB, free: 3.18 MB / 0.4981 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 () * 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.0004508/0.4522, allocations: 0.7133 MB / 0.6692 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.4524, allocations: 46.14 kB / 0.6692 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4524, allocations: 0 / 0.6692 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/0.4525, allocations: 15.83 kB / 0.6693 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.4528, allocations: 1.406 kB / 0.6693 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.4531, allocations: 147.5 kB / 0.6694 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.4533, allocations: 0.677 MB / 0.6701 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.176e-05/0.4533, allocations: 1.469 kB / 0.6701 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.4533, allocations: 8.438 kB / 0.6701 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.4533, allocations: 0 / 0.6701 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.47, allocations: 1.516 MB / 0.6715 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.953, allocations: 2.5 kB / 0.6716 GB, free: 0.7305 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_ExponentialIntegralE1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)