Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_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.001547/0.001547, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001936/0.001936, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.548/3.548, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.308/3.308, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001216, allocations: 15 kB / 0.6737 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4697, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003571/0.4734, allocations: 1.144 MB / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009051/0.4744, allocations: 156.4 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.4745, allocations: 0 / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.4745, allocations: 0 / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.603e-05/0.4746, allocations: 3.938 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.4752, allocations: 35.89 kB / 0.7885 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.926e-05/0.4753, allocations: 8 kB / 0.7885 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.4754, allocations: 4 kB / 0.7885 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.4755, allocations: 15.97 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.891e-05/0.4756, allocations: 7.938 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.4756, allocations: 0 / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.4758, allocations: 39.95 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.4758, allocations: 7.938 kB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.4759, allocations: 25.7 kB / 0.7886 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.4761, allocations: 39.88 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4761, allocations: 0 / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4761, allocations: 0 / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.4761, allocations: 0 / 0.7887 GB, free: 10.33 MB / 0.6075 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.000695/0.4768, allocations: 354.3 kB / 0.789 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.533e-05/0.4769, allocations: 12.03 kB / 0.789 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.477, allocations: 30.56 kB / 0.789 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.053e-05/0.477, allocations: 0 / 0.789 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.4773, allocations: 167 kB / 0.7892 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4773, allocations: 0 / 0.7892 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.4773, allocations: 0 / 0.7892 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.4776, allocations: 61.61 kB / 0.7893 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4776, allocations: 0 / 0.7893 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4776, allocations: 0 / 0.7893 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.4777, allocations: 4 kB / 0.7893 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.478, allocations: 47.95 kB / 0.7893 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006484/0.4786, allocations: 248.9 kB / 0.7896 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.4789, allocations: 42.53 kB / 0.7896 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003084/0.4792, allocations: 97.14 kB / 0.7897 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.273e-05/0.4793, allocations: 30.56 kB / 0.7897 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/0.4793, allocations: 0 / 0.7897 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006118/0.4799, allocations: 101.5 kB / 0.7898 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.48, allocations: 55.41 kB / 0.7899 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.4801, allocations: 93.86 kB / 0.79 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.4801, allocations: 25.7 kB / 0.79 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.4802, allocations: 88.12 kB / 0.7901 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.4803, allocations: 3.906 kB / 0.7901 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.4803, allocations: 4 kB / 0.7901 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4805, allocations: 318.9 kB / 0.7904 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.4806, allocations: 23.92 kB / 0.7904 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.4807, allocations: 19.98 kB / 0.7904 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.4808, allocations: 28.03 kB / 0.7904 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4809, allocations: 3.938 kB / 0.7904 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000333/0.4812, allocations: 73.67 kB / 0.7905 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.4813, allocations: 11.97 kB / 0.7905 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.4813, allocations: 0 / 0.7905 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4813, allocations: 0 / 0.7905 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.4814, allocations: 11.98 kB / 0.7905 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4815, allocations: 0 / 0.7905 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.003e-05/0.4815, allocations: 11.98 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.4816, allocations: 0 / 0.7906 GB, free: 8.164 MB / 0.6075 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 0.0001474/0.4817, allocations: 121.7 kB / 0.7907 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.4818, allocations: 4 kB / 0.7907 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.4822, allocations: 80.72 kB / 0.7907 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4822, allocations: 0 / 0.7907 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4822, allocations: 0 / 0.7907 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4822, allocations: 8.016 kB / 0.7908 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.4825, allocations: 161.6 kB / 0.7909 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4825, allocations: 0 / 0.7909 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.4826, allocations: 11.98 kB / 0.7909 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4826, allocations: 0 / 0.7909 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4826, allocations: 4 kB / 0.7909 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4826, allocations: 0 / 0.7909 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4827, allocations: 0 / 0.7909 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.4831, allocations: 183.3 kB / 0.7911 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.4832, allocations: 77.11 kB / 0.7912 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.4832, allocations: 0 / 0.7912 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.4833, allocations: 16.02 kB / 0.7912 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.4834, allocations: 4 kB / 0.7912 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.4834, allocations: 4 kB / 0.7912 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.235e-05/0.4835, allocations: 75.28 kB / 0.7913 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4835, allocations: 0 / 0.7913 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000441/0.484, allocations: 15.98 kB / 0.7913 GB, free: 7.312 MB / 0.6075 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.0009891/0.485, allocations: 0.7163 MB / 0.792 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.4853, allocations: 51.98 kB / 0.792 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4854, allocations: 0 / 0.792 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.4855, allocations: 23.98 kB / 0.7921 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.4859, allocations: 8.125 kB / 0.7921 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/0.4867, allocations: 143.5 kB / 0.7922 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.4871, allocations: 0.677 MB / 0.7929 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.4871, allocations: 11.92 kB / 0.7929 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.4871, allocations: 15.42 kB / 0.7929 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of SimCode: time 2.655e-06/0.4872, allocations: 0 / 0.7929 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.5014, allocations: 1.229 MB / 0.7941 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/0.5017, allocations: 187.9 kB / 0.7943 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/3.442, allocations: 0 / 0.7943 GB, free: 4.234 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_8_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) Environment - environmentSimulation: