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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8933/0.8933, allocations: 143.3 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 167.8 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.2 MB / 447.7 MB, free: 4.828 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.0009344/0.0009344, allocations: 103.7 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001924/0.001924, allocations: 265.3 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004759, allocations: 16.38 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.194, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/0.3653, allocations: 108.1 MB / 0.8794 GB, free: 1.512 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.3656, allocations: 71.95 kB / 0.8794 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002315/0.3679, allocations: 0.7581 MB / 0.8802 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.507e-06/0.368, allocations: 0 / 0.8802 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.368, allocations: 0 / 0.8802 GB, free: 0.6797 MB / 0.5417 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.0003185/0.3683, allocations: 323.3 kB / 0.8805 GB, free: 324 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.3684, allocations: 16.55 kB / 0.8805 GB, free: 308 kB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.662e-05/0.3684, allocations: 34.56 kB / 0.8805 GB, free: 264 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.3685, allocations: 0 / 0.8805 GB, free: 264 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.3686, allocations: 167 kB / 0.8807 GB, free: 56 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.3687, allocations: 7.953 kB / 0.8807 GB, free: 48 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.3687, allocations: 0 / 0.8807 GB, free: 48 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.3688, allocations: 25.7 kB / 0.8807 GB, free: 16 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3688, allocations: 8 kB / 0.8807 GB, free: 8 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3688, allocations: 0 / 0.8807 GB, free: 8 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3688, allocations: 3.938 kB / 0.8807 GB, free: 4 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.365e-05/0.3689, allocations: 4 kB / 0.8807 GB, free: 0 / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.39/0.7589, allocations: 143.4 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.733e-05/0.759, allocations: 19.78 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/0.7592, allocations: 87.27 kB / 0.881 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.7593, allocations: 36.08 kB / 0.881 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 2.104e-06/0.7593, allocations: 0 / 0.881 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.00016/0.7594, allocations: 35.44 kB / 0.881 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.7595, allocations: 51.41 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.849e-05/0.7595, allocations: 86.31 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.7595, allocations: 26.89 kB / 0.8812 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.475e-05/0.7595, allocations: 82.2 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.7596, allocations: 1.844 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.7596, allocations: 0 / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.7596, allocations: 319.8 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-06/0.7597, allocations: 3.234 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-06/0.7597, allocations: 1.375 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.973e-05/0.7597, allocations: 1.406 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7597, allocations: 0.5156 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.874e-05/0.7598, allocations: 37.53 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.7598, allocations: 5.297 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.7598, allocations: 0.6562 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.7598, allocations: 9.047 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.211e-05/0.7599, allocations: 1.562 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.7599, allocations: 0.5625 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.043e-05/0.7599, allocations: 1.156 kB / 0.8816 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.7599, allocations: 0 / 0.8816 GB, free: 108.2 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.76, allocations: 111.6 kB / 0.8817 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.76, allocations: 1.281 kB / 0.8817 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.829e-05/0.7601, allocations: 42.06 kB / 0.8818 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7601, allocations: 0 / 0.8818 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7601, allocations: 4.703 kB / 0.8818 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.7601, allocations: 2.078 kB / 0.8818 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.878e-05/0.7602, allocations: 150.3 kB / 0.8819 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.7602, allocations: 0.625 kB / 0.8819 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.7602, allocations: 2.172 kB / 0.8819 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7602, allocations: 3.422 kB / 0.8819 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.7602, allocations: 0.5625 kB / 0.8819 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7602, allocations: 0.9688 kB / 0.8819 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7602, allocations: 0 / 0.8819 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.694e-05/0.7603, allocations: 66.69 kB / 0.882 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.7603, allocations: 80.44 kB / 0.8821 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.7603, allocations: 1.203 kB / 0.8821 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/0.7603, allocations: 0.6562 kB / 0.8821 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.7604, allocations: 4.078 kB / 0.8821 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.7604, allocations: 0.5625 kB / 0.8821 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.245e-05/0.7604, allocations: 80.23 kB / 0.8822 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.7604, allocations: 0 / 0.8822 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002287/0.7606, allocations: 12.44 kB / 0.8822 GB, free: 107.6 MB / 0.5417 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 (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.0003454/0.761, allocations: 0.6211 MB / 0.8828 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.825e-05/0.761, allocations: 6.906 kB / 0.8828 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7611, allocations: 3.938 kB / 0.8828 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.206e-06/0.7611, allocations: 7.016 kB / 0.8828 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.112e-05/0.7612, allocations: 7.562 kB / 0.8828 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.7614, allocations: 105.3 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.7615, allocations: 0.6777 MB / 0.8836 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.389e-05/0.7616, allocations: 1.359 kB / 0.8836 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/0.7616, allocations: 10.89 kB / 0.8836 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.7616, allocations: 0.75 kB / 0.8836 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.7734, allocations: 0.9567 MB / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.7736, allocations: 212.3 kB / 0.8847 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.434/2.208, allocations: 4 kB / 0.8847 GB, free: 105.8 MB / 0.5417 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/linux/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)