Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009942/0.0009942, allocations: 99.86 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.001034/0.001034, 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.233/1.233, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 267.2 kB / 291.2 MB, free: 1.996 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.7846/0.7846, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 14.09 kB / 0.5683 GB, free: 38.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 83.09 MB / 0.6494 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001364/0.1355, allocations: 1.14 MB / 0.6505 GB, free: 2.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000332/0.1358, allocations: 143.7 kB / 0.6507 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.1358, allocations: 4.531 kB / 0.6507 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.1359, allocations: 0 / 0.6507 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.552e-05/0.1359, allocations: 4.625 kB / 0.6507 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1362, allocations: 36.55 kB / 0.6507 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.615e-05/0.1362, allocations: 11.94 kB / 0.6507 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.99e-05/0.1363, allocations: 5.641 kB / 0.6507 GB, free: 2.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.317e-05/0.1363, allocations: 7.984 kB / 0.6508 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.1364, allocations: 11.98 kB / 0.6508 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.1364, allocations: 0.7188 kB / 0.6508 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1365, allocations: 35.91 kB / 0.6508 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.1365, allocations: 5.156 kB / 0.6508 GB, free: 2.191 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.1366, allocations: 29.7 kB / 0.6508 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.297e-05/0.1366, allocations: 31.94 kB / 0.6509 GB, free: 2.125 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1367, allocations: 0.6562 kB / 0.6509 GB, free: 2.125 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1367, allocations: 0.5938 kB / 0.6509 GB, free: 2.125 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.1367, allocations: 0 / 0.6509 GB, free: 2.125 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003732/0.137, allocations: 341.7 kB / 0.6512 GB, free: 1.746 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1371, allocations: 12.03 kB / 0.6512 GB, free: 1.734 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.1371, allocations: 0 / 0.6512 GB, free: 1.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.889e-05/0.1372, allocations: 172 kB / 0.6514 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1373, allocations: 11.89 kB / 0.6514 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.1373, allocations: 0.5938 kB / 0.6514 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1375, allocations: 55.17 kB / 0.6514 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1375, allocations: 0.6562 kB / 0.6514 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1375, allocations: 0 / 0.6514 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1375, allocations: 0.75 kB / 0.6514 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.1377, allocations: 45.7 kB / 0.6515 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.138, allocations: 254.4 kB / 0.6517 GB, free: 1.117 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1381, allocations: 48.19 kB / 0.6518 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.1383, allocations: 91.27 kB / 0.6519 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1383, allocations: 30.56 kB / 0.6519 GB, free: 0.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1383, allocations: 0 / 0.6519 GB, free: 0.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003529/0.1387, allocations: 100.8 kB / 0.652 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.1387, allocations: 52.28 kB / 0.652 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.1388, allocations: 98.61 kB / 0.6521 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.1388, allocations: 25.7 kB / 0.6521 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.1388, allocations: 89.67 kB / 0.6522 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.1388, allocations: 3.984 kB / 0.6522 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.1389, allocations: 0 / 0.6522 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.1389, allocations: 315.5 kB / 0.6525 GB, free: 212 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.139, allocations: 22.3 kB / 0.6526 GB, free: 192 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.914e-05/0.1391, allocations: 19.98 kB / 0.6526 GB, free: 172 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.028e-05/0.1392, allocations: 31.77 kB / 0.6526 GB, free: 144 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1392, allocations: 0 / 0.6526 GB, free: 144 kB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002004/0.1394, allocations: 74.89 kB / 0.6527 GB, free: 64 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1394, allocations: 8 kB / 0.6527 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1394, allocations: 0 / 0.6527 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1395, allocations: 5.031 kB / 0.6527 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.1396, allocations: 12.2 kB / 0.6527 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1396, allocations: 4 kB / 0.6527 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.1396, allocations: 11.98 kB / 0.6527 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.1396, allocations: 0 / 0.6527 GB, free: 24 kB / 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 (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 7.505e-05/0.1397, allocations: 113.8 kB / 0.6528 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.1398, allocations: 4 kB / 0.6528 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.14, allocations: 76.78 kB / 0.6529 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.14, allocations: 3.938 kB / 0.6529 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.14, allocations: 4 kB / 0.6529 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.14, allocations: 3.984 kB / 0.6529 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.1402, allocations: 153.7 kB / 0.6531 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1402, allocations: 7.953 kB / 0.6531 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.1402, allocations: 19.95 kB / 0.6531 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1402, allocations: 0 / 0.6531 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1403, allocations: 7.938 kB / 0.6531 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1403, allocations: 0 / 0.6531 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1403, allocations: 0 / 0.6531 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.1405, allocations: 171.5 kB / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.1405, allocations: 84.97 kB / 0.6533 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1406, allocations: 0 / 0.6533 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.1406, allocations: 11.98 kB / 0.6534 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.1407, allocations: 4 kB / 0.6534 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1407, allocations: 0 / 0.6534 GB, free: 15.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.508e-05/0.1407, allocations: 79.31 kB / 0.6534 GB, free: 15.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1407, allocations: 4 kB / 0.6534 GB, free: 15.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.141, allocations: 19.98 kB / 0.6535 GB, free: 15.17 MB / 462.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 (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.0001516/0.1411, allocations: 107.2 kB / 0.6536 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.1414, allocations: 51.89 kB / 0.6536 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1414, allocations: 0 / 0.6536 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.1415, allocations: 23.98 kB / 0.6536 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.1416, allocations: 4 kB / 0.6536 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.1419, allocations: 112.7 kB / 0.6537 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.1421, allocations: 0.6809 MB / 0.6544 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.158e-05/0.1421, allocations: 3.984 kB / 0.6544 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.1421, allocations: 7.438 kB / 0.6544 GB, free: 14.12 MB / 462.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1421, allocations: 0 / 0.6544 GB, free: 14.12 MB / 462.1 MB Notification: Performance of Templates: time 0.002382/0.1445, allocations: 0.5741 MB / 0.655 GB, free: 13.55 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) Environment - environmentSimulation: