Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.005082/0.005087, allocations: 105 kB / 15.74 MB, free: 5.984 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.001171/0.001171, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 282.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8791/0.8791, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 96.06 kB / 0.681 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4293, allocations: 86.99 MB / 0.766 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00159/0.4309, allocations: 0.5666 MB / 0.7665 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.4313, allocations: 103.6 kB / 0.7666 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.206e-05/0.4313, allocations: 0 / 0.7666 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.4314, allocations: 0 / 0.7666 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.68e-06/0.4314, allocations: 0 / 0.7666 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.4317, allocations: 27.92 kB / 0.7666 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.381e-05/0.4317, allocations: 3.938 kB / 0.7666 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.4318, allocations: 3.984 kB / 0.7666 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.462e-05/0.4318, allocations: 8 kB / 0.7667 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.895e-05/0.4318, allocations: 4 kB / 0.7667 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.4318, allocations: 0 / 0.7667 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.432, allocations: 43.89 kB / 0.7667 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.413e-06/0.432, allocations: 0 / 0.7667 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.42e-05/0.432, allocations: 0 / 0.7667 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.4321, allocations: 27.95 kB / 0.7667 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4321, allocations: 0 / 0.7667 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4322, allocations: 0 / 0.7667 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.4322, allocations: 0 / 0.7667 GB, free: 3.031 MB / 0.5294 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.0002718/0.4324, allocations: 319.6 kB / 0.767 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4325, allocations: 12.03 kB / 0.767 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.4325, allocations: 38.62 kB / 0.7671 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.4326, allocations: 0.9375 kB / 0.7671 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.043e-05/0.4327, allocations: 160.4 kB / 0.7672 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.4327, allocations: 384 / 0.7672 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-06/0.4327, allocations: 4.312 kB / 0.7672 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.431e-05/0.4328, allocations: 34.27 kB / 0.7673 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.4328, allocations: 7.938 kB / 0.7673 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.4328, allocations: 4 kB / 0.7673 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4328, allocations: 0 / 0.7673 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.4328, allocations: 4 kB / 0.7673 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.433, allocations: 145.7 kB / 0.7674 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.476e-05/0.433, allocations: 18.52 kB / 0.7674 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.433, allocations: 8.953 kB / 0.7674 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.4332, allocations: 85.09 kB / 0.7675 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.4333, allocations: 38.56 kB / 0.7676 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4333, allocations: 0 / 0.7676 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001332/0.4334, allocations: 33.64 kB / 0.7676 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.4334, allocations: 55.34 kB / 0.7676 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.521e-05/0.4335, allocations: 93.84 kB / 0.7677 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.4335, allocations: 25.7 kB / 0.7678 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.4335, allocations: 80.14 kB / 0.7678 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.4336, allocations: 14.72 kB / 0.7679 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.4336, allocations: 13.84 kB / 0.7679 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4337, allocations: 310.8 kB / 0.7682 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.4337, allocations: 0 / 0.7682 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-06/0.4337, allocations: 4 kB / 0.7682 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.147e-05/0.4338, allocations: 4.859 kB / 0.7682 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4338, allocations: 0 / 0.7682 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.251e-05/0.4338, allocations: 45.62 kB / 0.7682 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4339, allocations: 4.094 kB / 0.7682 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4339, allocations: 7.938 kB / 0.7682 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.4339, allocations: 0 / 0.7682 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.533e-05/0.4339, allocations: 4 kB / 0.7682 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.4339, allocations: 0 / 0.7682 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-06/0.434, allocations: 0 / 0.7682 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.434, allocations: 3.984 kB / 0.7682 GB, free: 1.23 MB / 0.5294 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 5.667e-05/0.434, allocations: 112.2 kB / 0.7683 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.434, allocations: 4 kB / 0.7683 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.756e-05/0.4341, allocations: 44.75 kB / 0.7684 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4341, allocations: 0 / 0.7684 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4341, allocations: 3.938 kB / 0.7684 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.4341, allocations: 0 / 0.7684 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.567e-05/0.4342, allocations: 149.6 kB / 0.7685 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4342, allocations: 0 / 0.7685 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.4343, allocations: 11.92 kB / 0.7685 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4343, allocations: 0 / 0.7685 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.4343, allocations: 3.938 kB / 0.7685 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4343, allocations: 0 / 0.7685 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4343, allocations: 0 / 0.7685 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.147e-05/0.4344, allocations: 61.17 kB / 0.7686 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.4344, allocations: 81.09 kB / 0.7687 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.4344, allocations: 3.938 kB / 0.7687 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-06/0.4345, allocations: 4 kB / 0.7687 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.4345, allocations: 0 / 0.7687 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.4345, allocations: 0 / 0.7687 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.384e-05/0.4345, allocations: 75.28 kB / 0.7688 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4345, allocations: 8.031 kB / 0.7688 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001933/0.4347, allocations: 4 kB / 0.7688 GB, free: 0.5781 MB / 0.5294 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.0003949/0.4351, allocations: 0.6124 MB / 0.7694 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.658e-05/0.4352, allocations: 7.984 kB / 0.7694 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4352, allocations: 0 / 0.7694 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.665e-06/0.4352, allocations: 4 kB / 0.7694 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.4353, allocations: 0 / 0.7694 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.4356, allocations: 114.7 kB / 0.7695 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.4359, allocations: 0.6767 MB / 0.7702 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.403e-05/0.4359, allocations: 4 kB / 0.7702 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.4359, allocations: 11.56 kB / 0.7702 GB, free: 15.05 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.4359, allocations: 0 / 0.7702 GB, free: 15.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.452, allocations: 1.157 MB / 0.7713 GB, free: 14.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.441, allocations: 2.172 kB / 0.7713 GB, free: 14.04 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)