Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008143/0.0008143, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008454/0.0008454, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.879/0.879, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7163/0.7163, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.14e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001252/0.001274, allocations: 0.5961 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002636/0.001537, allocations: 79.73 kB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.213e-05/0.001549, allocations: 0 / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.001563, allocations: 0 / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-06/0.00157, allocations: 0 / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.001898, allocations: 27.86 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.195e-05/0.00194, allocations: 7.984 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.00198, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.344e-05/0.002004, allocations: 4 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.543e-05/0.002019, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.002032, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.00214, allocations: 47.83 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.393e-06/0.002147, allocations: 0 / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.002164, allocations: 0 / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.793e-05/0.002262, allocations: 31.89 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002264, allocations: 0 / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.252e-06/0.002265, allocations: 0 / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.002269, allocations: 0 / 0.6189 GB, free: 12.87 MB / 0.5886 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.0002146/0.002484, allocations: 238.4 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.002521, allocations: 13.47 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.002547, allocations: 34.75 kB / 0.6192 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.002592, allocations: 0.9375 kB / 0.6192 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.567e-05/0.002647, allocations: 105.8 kB / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.002656, allocations: 384 / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-06/0.002662, allocations: 384 / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.923e-05/0.002741, allocations: 38.19 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.002748, allocations: 4.172 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.002755, allocations: 384 / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.00276, allocations: 4.125 kB / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.002776, allocations: 4 kB / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.002879, allocations: 116.8 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.523e-05/0.002914, allocations: 18.58 kB / 0.6194 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.002929, allocations: 8.953 kB / 0.6194 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.003088, allocations: 11.92 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.003107, allocations: 30.56 kB / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.003108, allocations: 0 / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.003237, allocations: 33.69 kB / 0.6195 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.003349, allocations: 67.28 kB / 0.6196 GB, free: 12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.39e-05/0.003373, allocations: 89.86 kB / 0.6197 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.003381, allocations: 33.77 kB / 0.6197 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.623e-05/0.003397, allocations: 80.14 kB / 0.6198 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.003421, allocations: 0 / 0.6198 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.003446, allocations: 13.72 kB / 0.6198 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.003513, allocations: 310.8 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-06/0.003523, allocations: 0 / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-06/0.003529, allocations: 3.938 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.207e-05/0.003551, allocations: 12.86 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.003553, allocations: 0 / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.745e-05/0.0036, allocations: 37.75 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.003613, allocations: 8 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.003617, allocations: 0 / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.003628, allocations: 0 / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.714e-05/0.003665, allocations: 0 / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.003671, allocations: 3.938 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.824e-06/0.003678, allocations: 4 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.003683, allocations: 0 / 0.6201 GB, free: 11.38 MB / 0.5886 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 (1): * Single equations (assignments): 1 * 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 7.096e-05/0.003754, allocations: 106.8 kB / 0.6202 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.003764, allocations: 3.938 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.003828, allocations: 44.72 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.003831, allocations: 8 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.003836, allocations: 3.938 kB / 0.6203 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.003838, allocations: 0 / 0.6203 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.576e-05/0.003894, allocations: 112.8 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.003896, allocations: 3.984 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-06/0.003905, allocations: 4 kB / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.003905, allocations: 0 / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.003911, allocations: 0 / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.003911, allocations: 0 / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.003913, allocations: 3.938 kB / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.189e-05/0.003965, allocations: 69.06 kB / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-06/0.003969, allocations: 3.984 kB / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-06/0.003976, allocations: 0 / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-06/0.00398, allocations: 0 / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.003992, allocations: 11.88 kB / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.003994, allocations: 0 / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.751e-05/0.004011, allocations: 75.28 kB / 0.6206 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.1e-08/0.004011, allocations: 0 / 0.6206 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001388/0.00415, allocations: 7.938 kB / 0.6206 GB, free: 10.84 MB / 0.5886 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 (1): * Single equations (assignments): 1 * 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.0003428/0.004493, allocations: 0.5969 MB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.084e-05/0.004554, allocations: 11.92 kB / 0.6212 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.004555, allocations: 0 / 0.6212 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.816e-06/0.004558, allocations: 7.938 kB / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.694e-05/0.004655, allocations: 3.938 kB / 0.6212 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.004879, allocations: 102.7 kB / 0.6213 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.00491, allocations: 63.5 kB / 0.6214 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.526e-06/0.004918, allocations: 0 / 0.6214 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.368e-05/0.004932, allocations: 8.5 kB / 0.6214 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.004933, allocations: 0 / 0.6214 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.0216, allocations: 1.769 MB / 0.6231 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/6.988, allocations: 10.16 kB / 0.6231 GB, free: 8.324 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.616972579620779] Failed to read output from testmodel.py, exit status != 0: 7.069342974573374 7.079798862 7.07584521 Calling exit ...