Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 179.9 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009556/0.0009562, allocations: 100.7 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004175, allocations: 12.41 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2379, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00152/0.2395, allocations: 1.156 MB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003304/0.2398, allocations: 144.5 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.2399, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.2399, allocations: 3.938 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.2399, allocations: 15.97 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.2402, allocations: 23.92 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.659e-05/0.2403, allocations: 15.97 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.481e-05/0.2404, allocations: 4 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.2405, allocations: 7.938 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.658e-05/0.2405, allocations: 11.98 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.2405, allocations: 0 / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.2406, allocations: 39.89 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.126e-06/0.2406, allocations: 4 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.2407, allocations: 33.7 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.958e-05/0.2408, allocations: 31.94 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2408, allocations: 0 / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2408, allocations: 0 / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2408, allocations: 0 / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003821/0.2412, allocations: 339.4 kB / 0.9019 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2412, allocations: 12.03 kB / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.747e-05/0.2413, allocations: 38.55 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.2413, allocations: 0 / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.458e-05/0.2414, allocations: 179.1 kB / 0.9021 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2414, allocations: 8 kB / 0.9021 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.2414, allocations: 3.938 kB / 0.9021 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.2416, allocations: 53.67 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2416, allocations: 0 / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.2416, allocations: 0 / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2417, allocations: 4 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.2418, allocations: 43.95 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.2421, allocations: 244.9 kB / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.2422, allocations: 50.5 kB / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.2424, allocations: 85.16 kB / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.2424, allocations: 30.56 kB / 0.9026 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.2424, allocations: 0 / 0.9026 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003336/0.2427, allocations: 97.64 kB / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.2428, allocations: 51.41 kB / 0.9028 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.044e-05/0.2428, allocations: 117.8 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.2429, allocations: 25.7 kB / 0.9029 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.448e-05/0.2429, allocations: 80.14 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.2429, allocations: 3.906 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.2429, allocations: 0 / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.243, allocations: 322.8 kB / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.623e-05/0.2431, allocations: 19.97 kB / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.2431, allocations: 27.98 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.132e-05/0.2432, allocations: 15.98 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2432, allocations: 0 / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001789/0.2434, allocations: 77.72 kB / 0.9034 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2434, allocations: 8 kB / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2434, allocations: 0 / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2434, allocations: 0 / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.2435, allocations: 11.98 kB / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.2435, allocations: 3.938 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.2436, allocations: 16.03 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.2436, allocations: 0 / 0.9035 GB, free: 60.15 MB / 0.6042 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 (2): * Single equations (assignments): 2 * 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.432e-05/0.2437, allocations: 113.8 kB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.2437, allocations: 7.906 kB / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.2439, allocations: 80.78 kB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2439, allocations: 0 / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2439, allocations: 4 kB / 0.9037 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.2439, allocations: 3.938 kB / 0.9037 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.244, allocations: 157.6 kB / 0.9038 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2441, allocations: 4.172 kB / 0.9038 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.2441, allocations: 8 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2441, allocations: 4.031 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.2441, allocations: 3.984 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2441, allocations: 0 / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2441, allocations: 3.938 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.2444, allocations: 179.5 kB / 0.904 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.2444, allocations: 81.09 kB / 0.9041 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.2444, allocations: 0 / 0.9041 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.2445, allocations: 8 kB / 0.9041 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.2445, allocations: 3.984 kB / 0.9041 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.2445, allocations: 4 kB / 0.9041 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.084e-05/0.2446, allocations: 79.28 kB / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2446, allocations: 4.031 kB / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002142/0.2448, allocations: 12 kB / 0.9042 GB, free: 59.3 MB / 0.6042 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 (2): * Single equations (assignments): 2 * 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.0004238/0.2452, allocations: 0.727 MB / 0.9049 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.2454, allocations: 52 kB / 0.905 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2454, allocations: 0 / 0.905 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.2455, allocations: 23.97 kB / 0.905 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.2457, allocations: 1.203 kB / 0.905 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.2461, allocations: 150.2 kB / 0.9051 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.2462, allocations: 0.6809 MB / 0.9058 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.2463, allocations: 3.984 kB / 0.9058 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.2463, allocations: 15.44 kB / 0.9058 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2463, allocations: 0 / 0.9058 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01068/0.257, allocations: 1.226 MB / 0.907 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/0.2572, allocations: 204 kB / 0.9072 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.871, allocations: 0 / 0.9072 GB, free: 56.24 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)