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.8106/0.8106, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001319, allocations: 185.5 kB / 187.3 MB, free: 11.88 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.565/1.565, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009853/0.0009853, allocations: 97.02 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 272.6 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.526e-05/5.565e-05, allocations: 7.938 kB / 0.6836 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5039, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.634, allocations: 108 MB / 0.8699 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.6343, allocations: 71.95 kB / 0.8699 GB, free: 432 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002002/0.6363, allocations: 0.7586 MB / 0.8707 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6363, allocations: 0.625 kB / 0.8707 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.6363, allocations: 0 / 0.8707 GB, free: 15.67 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.0002781/0.6366, allocations: 319.3 kB / 0.871 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.6367, allocations: 8.906 kB / 0.871 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.6367, allocations: 42.48 kB / 0.871 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.6368, allocations: 4.828 kB / 0.871 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.6369, allocations: 159.1 kB / 0.8712 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.6369, allocations: 4.484 kB / 0.8712 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.637, allocations: 4 kB / 0.8712 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.503e-05/0.6371, allocations: 28.61 kB / 0.8712 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.6371, allocations: 0 / 0.8712 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.6371, allocations: 0 / 0.8712 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.6371, allocations: 0 / 0.8712 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.325e-05/0.6371, allocations: 7.938 kB / 0.8712 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.6373, allocations: 149.7 kB / 0.8714 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.452e-05/0.6374, allocations: 21.91 kB / 0.8714 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.6374, allocations: 8.953 kB / 0.8714 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.6376, allocations: 85.09 kB / 0.8715 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.6376, allocations: 34.5 kB / 0.8715 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/0.6376, allocations: 0 / 0.8715 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.6378, allocations: 34.83 kB / 0.8716 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.6378, allocations: 55.41 kB / 0.8716 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.908e-05/0.6379, allocations: 89.03 kB / 0.8717 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.6379, allocations: 29.7 kB / 0.8717 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.638, allocations: 80.14 kB / 0.8718 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.638, allocations: 0 / 0.8718 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.638, allocations: 0 / 0.8718 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6381, allocations: 314.8 kB / 0.8721 GB, free: 14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-06/0.6381, allocations: 0 / 0.8721 GB, free: 14 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.6381, allocations: 7.984 kB / 0.8721 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.031e-05/0.6382, allocations: 4.062 kB / 0.8721 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6382, allocations: 0 / 0.8721 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.068e-05/0.6382, allocations: 33.64 kB / 0.8721 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.6383, allocations: 11.95 kB / 0.8722 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6383, allocations: 0 / 0.8722 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.6383, allocations: 0 / 0.8722 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.866e-05/0.6383, allocations: 0 / 0.8722 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6384, allocations: 0 / 0.8722 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.248e-06/0.6384, allocations: 0 / 0.8722 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.6384, allocations: 8 kB / 0.8722 GB, free: 13.93 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 () * 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.174e-05/0.6385, allocations: 109 kB / 0.8723 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.6385, allocations: 0 / 0.8723 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.141e-05/0.6386, allocations: 36.78 kB / 0.8723 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.6386, allocations: 0 / 0.8723 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.6386, allocations: 0 / 0.8723 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6386, allocations: 0 / 0.8723 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.6387, allocations: 157.5 kB / 0.8724 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.6387, allocations: 0 / 0.8724 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.041e-05/0.6388, allocations: 0 / 0.8724 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6388, allocations: 4.031 kB / 0.8725 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.6388, allocations: 4 kB / 0.8725 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.6388, allocations: 3.953 kB / 0.8725 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6388, allocations: 0 / 0.8725 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.638e-05/0.6389, allocations: 57.12 kB / 0.8725 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.6389, allocations: 77.11 kB / 0.8726 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.6389, allocations: 4 kB / 0.8726 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/0.639, allocations: 4 kB / 0.8726 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.639, allocations: 7.984 kB / 0.8726 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.639, allocations: 0 / 0.8726 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.639, allocations: 75.28 kB / 0.8727 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.639, allocations: 3.938 kB / 0.8727 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002075/0.6392, allocations: 19.94 kB / 0.8727 GB, free: 13.28 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 () * 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.0004686/0.6397, allocations: 0.628 MB / 0.8733 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.526e-05/0.6398, allocations: 4 kB / 0.8733 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6398, allocations: 0 / 0.8733 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.197e-06/0.6398, allocations: 7.938 kB / 0.8733 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.739e-05/0.6399, allocations: 3.953 kB / 0.8733 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.6402, allocations: 87.02 kB / 0.8734 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.6405, allocations: 0.6692 MB / 0.8741 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.262e-05/0.6405, allocations: 0 / 0.8741 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.6405, allocations: 11.44 kB / 0.8741 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of SimCode: time 3.1e-07/0.6405, allocations: 0 / 0.8741 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.6668, allocations: 0.9616 MB / 0.875 GB, free: 11 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/0.6672, allocations: 179.1 kB / 0.8752 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.373, allocations: 0 / 0.8752 GB, free: 10.77 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)