Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.007342/0.007342, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.001608/0.001608, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.117/1.117, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.00141, allocations: 67.91 kB / 0.5951 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4129, allocations: 82.03 MB / 0.6752 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001767/0.4147, allocations: 0.5749 MB / 0.6758 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003365/0.415, allocations: 101.1 kB / 0.6759 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.347e-05/0.4151, allocations: 0 / 0.6759 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.4151, allocations: 5.031 kB / 0.6759 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.4151, allocations: 0 / 0.6759 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.4154, allocations: 33.05 kB / 0.6759 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.786e-05/0.4155, allocations: 9.125 kB / 0.6759 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.4155, allocations: 1.281 kB / 0.6759 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.183e-05/0.4155, allocations: 3.938 kB / 0.6759 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.459e-05/0.4156, allocations: 1.219 kB / 0.6759 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.213e-06/0.4156, allocations: 0 / 0.6759 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.4157, allocations: 41.44 kB / 0.676 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.954e-06/0.4157, allocations: 3.984 kB / 0.676 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.4157, allocations: 0 / 0.676 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.4159, allocations: 28.3 kB / 0.676 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4159, allocations: 0 / 0.676 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4159, allocations: 0 / 0.676 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.4159, allocations: 4 kB / 0.676 GB, free: 0.6367 MB / 0.4981 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.000213/0.4161, allocations: 314.4 kB / 0.6763 GB, free: 292 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4161, allocations: 9.781 kB / 0.6763 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.486e-05/0.4162, allocations: 30.75 kB / 0.6763 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.4162, allocations: 0.9375 kB / 0.6763 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.63e-05/0.4163, allocations: 165.3 kB / 0.6765 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.4163, allocations: 4.375 kB / 0.6765 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.4163, allocations: 1.5 kB / 0.6765 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.105e-05/0.4164, allocations: 32.28 kB / 0.6765 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4164, allocations: 7.938 kB / 0.6765 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.4164, allocations: 0 / 0.6765 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.4165, allocations: 1.094 kB / 0.6765 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.108e-05/0.4165, allocations: 0.9375 kB / 0.6765 GB, free: 16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.4166, allocations: 146.6 kB / 0.6767 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.073e-05/0.4167, allocations: 24.7 kB / 0.6767 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.4167, allocations: 5.859 kB / 0.6767 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.4169, allocations: 88.72 kB / 0.6768 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.417, allocations: 31.72 kB / 0.6768 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.417, allocations: 0 / 0.6768 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001563/0.4171, allocations: 39.12 kB / 0.6769 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.4172, allocations: 55.41 kB / 0.6769 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.54e-05/0.4172, allocations: 95.02 kB / 0.677 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.4172, allocations: 25.7 kB / 0.677 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.4173, allocations: 80.14 kB / 0.6771 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.4173, allocations: 13.2 kB / 0.6771 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.4173, allocations: 10.97 kB / 0.6771 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4175, allocations: 316 kB / 0.6774 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.4175, allocations: 3.938 kB / 0.6774 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-06/0.4175, allocations: 6.078 kB / 0.6774 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.617e-05/0.4175, allocations: 10.92 kB / 0.6774 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4175, allocations: 0 / 0.6774 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.257e-05/0.4176, allocations: 35.14 kB / 0.6775 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4176, allocations: 5.781 kB / 0.6775 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4176, allocations: 3.938 kB / 0.6775 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4176, allocations: 1.031 kB / 0.6775 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.993e-05/0.4177, allocations: 5 kB / 0.6775 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.4177, allocations: 1.031 kB / 0.6775 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-06/0.4177, allocations: 0 / 0.6775 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.4177, allocations: 1.188 kB / 0.6775 GB, free: 14.9 MB / 0.5137 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 6.515e-05/0.4178, allocations: 111.1 kB / 0.6776 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.4178, allocations: 4.031 kB / 0.6776 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/0.4179, allocations: 45.59 kB / 0.6776 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4179, allocations: 0 / 0.6776 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4179, allocations: 0 / 0.6776 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4179, allocations: 1.25 kB / 0.6776 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.4181, allocations: 154.6 kB / 0.6778 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4181, allocations: 0 / 0.6778 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.4181, allocations: 2.125 kB / 0.6778 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4181, allocations: 0 / 0.6778 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.4181, allocations: 8.906 kB / 0.6778 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4181, allocations: 7.969 kB / 0.6778 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4181, allocations: 0 / 0.6778 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.877e-05/0.4182, allocations: 59.44 kB / 0.6779 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.4183, allocations: 78.23 kB / 0.6779 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.4183, allocations: 3.938 kB / 0.6779 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-06/0.4183, allocations: 1.281 kB / 0.678 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-06/0.4183, allocations: 0 / 0.678 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.4183, allocations: 5.375 kB / 0.678 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.594e-05/0.4184, allocations: 75.28 kB / 0.678 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4184, allocations: 0 / 0.678 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002137/0.4186, allocations: 7.812 kB / 0.678 GB, free: 14.27 MB / 0.5137 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.0004007/0.419, allocations: 0.6175 MB / 0.6786 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.716e-05/0.4191, allocations: 8.219 kB / 0.6786 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4191, allocations: 0 / 0.6786 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.573e-06/0.4191, allocations: 2.188 kB / 0.6786 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.4192, allocations: 5.219 kB / 0.6787 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.4195, allocations: 105.9 kB / 0.6788 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.4197, allocations: 0.678 MB / 0.6794 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.05e-05/0.4197, allocations: 1 kB / 0.6794 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.4198, allocations: 8.688 kB / 0.6794 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.4198, allocations: 0 / 0.6794 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.4379, allocations: 1.177 MB / 0.6806 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/8.159, allocations: 5.281 kB / 0.6806 GB, free: 12.15 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)