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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008338/0.0008338, allocations: 100.1 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.000887/0.0008871, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001644/0.001644, allocations: 270.2 kB / 291.2 MB, free: 1.977 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7489/0.7489, allocations: 144.6 MB / 487 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003871, allocations: 13.97 kB / 0.5683 GB, free: 38.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.132, allocations: 83.08 MB / 0.6494 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0006633/0.1327, allocations: 305.2 kB / 0.6497 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002752/0.1329, allocations: 102.8 kB / 0.6498 GB, free: 3.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.078e-05/0.133, allocations: 0 / 0.6498 GB, free: 3.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.416e-06/0.133, allocations: 0 / 0.6498 GB, free: 3.152 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.338e-06/0.133, allocations: 0 / 0.6498 GB, free: 3.152 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.1333, allocations: 23.91 kB / 0.6498 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.074e-05/0.1333, allocations: 6.5 kB / 0.6499 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.1333, allocations: 0 / 0.6499 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.114e-05/0.1334, allocations: 0 / 0.6499 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.84e-05/0.1334, allocations: 0 / 0.6499 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.1334, allocations: 0 / 0.6499 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.1335, allocations: 43.89 kB / 0.6499 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-06/0.1336, allocations: 0 / 0.6499 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.1336, allocations: 26.2 kB / 0.6499 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.769e-05/0.1337, allocations: 24.56 kB / 0.6499 GB, free: 3.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1337, allocations: 0 / 0.6499 GB, free: 3.027 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1337, allocations: 0.5312 kB / 0.6499 GB, free: 3.027 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1337, allocations: 1.094 kB / 0.6499 GB, free: 3.027 MB / 446.1 MB 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.0002176/0.1339, allocations: 315.4 kB / 0.6502 GB, free: 2.672 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.1339, allocations: 9.594 kB / 0.6503 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.134, allocations: 0 / 0.6503 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.826e-05/0.1341, allocations: 163.1 kB / 0.6504 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1341, allocations: 3.953 kB / 0.6504 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.1341, allocations: 0.75 kB / 0.6504 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.945e-05/0.1342, allocations: 34.2 kB / 0.6504 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1342, allocations: 0 / 0.6504 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1342, allocations: 1.031 kB / 0.6505 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1342, allocations: 0 / 0.6505 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.419e-05/0.1342, allocations: 1.625 kB / 0.6505 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.1344, allocations: 153.7 kB / 0.6506 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.217e-05/0.1344, allocations: 14.58 kB / 0.6506 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.1346, allocations: 89.86 kB / 0.6507 GB, free: 2.094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.1346, allocations: 35.75 kB / 0.6507 GB, free: 2.051 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1346, allocations: 3.938 kB / 0.6507 GB, free: 2.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.1347, allocations: 34.36 kB / 0.6508 GB, free: 2.008 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.1348, allocations: 59.94 kB / 0.6508 GB, free: 1.938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.987e-05/0.1348, allocations: 90.39 kB / 0.6509 GB, free: 1.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.1348, allocations: 26.33 kB / 0.6509 GB, free: 1.809 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.31e-05/0.1349, allocations: 80.73 kB / 0.651 GB, free: 1.727 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.1349, allocations: 3.906 kB / 0.651 GB, free: 1.723 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-06/0.1349, allocations: 1.5 kB / 0.651 GB, free: 1.723 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.135, allocations: 310.8 kB / 0.6513 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.135, allocations: 7.984 kB / 0.6513 GB, free: 1.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-06/0.135, allocations: 0.6562 kB / 0.6513 GB, free: 1.402 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.381e-05/0.135, allocations: 0.75 kB / 0.6513 GB, free: 1.402 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1351, allocations: 0.875 kB / 0.6513 GB, free: 1.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.863e-05/0.1351, allocations: 41.64 kB / 0.6514 GB, free: 1.355 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1351, allocations: 8.672 kB / 0.6514 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1351, allocations: 4 kB / 0.6514 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.1352, allocations: 0.5938 kB / 0.6514 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.963e-05/0.1352, allocations: 1.969 kB / 0.6514 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1352, allocations: 4 kB / 0.6514 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-06/0.1352, allocations: 0 / 0.6514 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.1352, allocations: 0 / 0.6514 GB, free: 1.34 MB / 446.1 MB 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.308e-05/0.1353, allocations: 110.4 kB / 0.6515 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.1353, allocations: 0 / 0.6515 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.1354, allocations: 41.59 kB / 0.6515 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1354, allocations: 4.75 kB / 0.6515 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1354, allocations: 0 / 0.6515 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1354, allocations: 6.234 kB / 0.6515 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.425e-05/0.1355, allocations: 153.7 kB / 0.6517 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1355, allocations: 0 / 0.6517 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.154e-05/0.1355, allocations: 4 kB / 0.6517 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1355, allocations: 0 / 0.6517 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-06/0.1355, allocations: 0 / 0.6517 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1355, allocations: 4.578 kB / 0.6517 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1355, allocations: 0 / 0.6517 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.133e-05/0.1356, allocations: 54.44 kB / 0.6517 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.1356, allocations: 90.05 kB / 0.6518 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.1357, allocations: 0 / 0.6518 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-06/0.1357, allocations: 0.625 kB / 0.6518 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.1357, allocations: 10.36 kB / 0.6518 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.1357, allocations: 0 / 0.6518 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.866e-05/0.1357, allocations: 75.28 kB / 0.6519 GB, free: 0.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1357, allocations: 0 / 0.6519 GB, free: 0.707 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001772/0.1359, allocations: 8 kB / 0.6519 GB, free: 0.6992 MB / 446.1 MB 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.0001513/0.1361, allocations: 117.3 kB / 0.652 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.534e-05/0.1361, allocations: 3.938 kB / 0.652 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1361, allocations: 4.625 kB / 0.652 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.08e-06/0.1361, allocations: 0 / 0.652 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.661e-05/0.1362, allocations: 7.594 kB / 0.652 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001495/0.1364, allocations: 82.75 kB / 0.6521 GB, free: 464 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.1366, allocations: 0.6692 MB / 0.6528 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.091e-05/0.1366, allocations: 0.9688 kB / 0.6528 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.206e-05/0.1366, allocations: 19.36 kB / 0.6528 GB, free: 15.74 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1366, allocations: 416 / 0.6528 GB, free: 15.74 MB / 462.1 MB Notification: Performance of Templates: time 0.001987/0.1386, allocations: 379.7 kB / 0.6532 GB, free: 15.37 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) Environment - environmentSimulation: