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/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 180.9 kB / 7.651 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.8447/0.8447, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.561/1.561, allocations: 221.5 MB / 395.4 MB, free: 10.74 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.0008754/0.0008755, allocations: 96.05 kB / 478.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.581e-05, allocations: 8 kB / 0.5536 GB, free: 8.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4112, allocations: 82.31 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.5595, allocations: 110 MB / 0.7414 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.5597, allocations: 75.95 kB / 0.7415 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002164/0.5619, allocations: 0.7486 MB / 0.7422 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5619, allocations: 0 / 0.7422 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.5619, allocations: 0 / 0.7422 GB, free: 11.79 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002617/0.5622, allocations: 326 kB / 0.7425 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.5622, allocations: 8.031 kB / 0.7425 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.5623, allocations: 0 / 0.7425 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.5624, allocations: 163 kB / 0.7427 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.5624, allocations: 8 kB / 0.7427 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.5625, allocations: 0 / 0.7427 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.487e-05/0.5625, allocations: 4 kB / 0.7427 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.532e-05/0.5626, allocations: 29.64 kB / 0.7427 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.5626, allocations: 4 kB / 0.7427 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.5627, allocations: 0 / 0.7427 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.5627, allocations: 0 / 0.7427 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.5628, allocations: 126.2 kB / 0.7428 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.575e-05/0.5628, allocations: 22.53 kB / 0.7429 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.5629, allocations: 12.95 kB / 0.7429 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.5631, allocations: 85.09 kB / 0.7429 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.5631, allocations: 30.56 kB / 0.743 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.5631, allocations: 0 / 0.743 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001534/0.5633, allocations: 33.64 kB / 0.743 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.5633, allocations: 51.41 kB / 0.7431 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.285e-05/0.5634, allocations: 85 kB / 0.7431 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.5634, allocations: 29.73 kB / 0.7432 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/0.5634, allocations: 84.08 kB / 0.7432 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.5634, allocations: 11.91 kB / 0.7433 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.5635, allocations: 0 / 0.7433 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5636, allocations: 314.8 kB / 0.7436 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-06/0.5636, allocations: 0 / 0.7436 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-06/0.5636, allocations: 0 / 0.7436 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.832e-05/0.5636, allocations: 4 kB / 0.7436 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5637, allocations: 0 / 0.7436 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.677e-05/0.5637, allocations: 33.77 kB / 0.7436 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5638, allocations: 7.953 kB / 0.7436 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5638, allocations: 0 / 0.7436 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5638, allocations: 0 / 0.7436 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.5638, allocations: 4 kB / 0.7436 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5638, allocations: 0 / 0.7436 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.091e-05/0.5639, allocations: 7.922 kB / 0.7436 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.5639, allocations: 0 / 0.7436 GB, free: 10.12 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 (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 8.24e-05/0.564, allocations: 106.6 kB / 0.7437 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.019e-05/0.564, allocations: 37.73 kB / 0.7438 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.564, allocations: 3.953 kB / 0.7438 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-05/0.5641, allocations: 41.44 kB / 0.7438 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.5641, allocations: 0 / 0.7438 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5642, allocations: 0 / 0.7438 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.5642, allocations: 0 / 0.7438 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.457e-05/0.5643, allocations: 122.2 kB / 0.7439 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.5643, allocations: 4 kB / 0.7439 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.5643, allocations: 3.938 kB / 0.7439 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5643, allocations: 8.016 kB / 0.7439 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.5643, allocations: 0 / 0.7439 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5643, allocations: 0 / 0.7439 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5643, allocations: 3.984 kB / 0.7439 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.289e-05/0.5644, allocations: 53.14 kB / 0.744 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.5645, allocations: 77.11 kB / 0.7441 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.5645, allocations: 7.938 kB / 0.7441 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-06/0.5645, allocations: 4 kB / 0.7441 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.5645, allocations: 12.02 kB / 0.7441 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.5645, allocations: 4 kB / 0.7441 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.5646, allocations: 79.22 kB / 0.7442 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5646, allocations: 0 / 0.7442 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002068/0.5648, allocations: 15.94 kB / 0.7442 GB, free: 9.461 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 (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.0005313/0.5653, allocations: 0.6125 MB / 0.7448 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.059e-05/0.5654, allocations: 4 kB / 0.7448 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5654, allocations: 0 / 0.7448 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.801e-06/0.5654, allocations: 4 kB / 0.7448 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.485e-05/0.5655, allocations: 5.828 kB / 0.7448 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.5658, allocations: 89.7 kB / 0.7449 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.566, allocations: 0.6768 MB / 0.7455 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.104e-05/0.566, allocations: 0 / 0.7455 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.566, allocations: 7.438 kB / 0.7455 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/0.566, allocations: 4 kB / 0.7455 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.5857, allocations: 0.6422 MB / 0.7462 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/0.586, allocations: 144.8 kB / 0.7463 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.386/1.972, allocations: 0 / 0.7463 GB, free: 7.141 MB / 0.5261 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --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)