Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008419/0.0008419, allocations: 99.94 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.0009463/0.0009464, 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.193/1.193, allocations: 223.2 MB / 239.9 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001643/0.001643, allocations: 270.6 kB / 291.3 MB, free: 1.957 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.7784/0.7784, allocations: 144.6 MB / 487 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004076, allocations: 17.84 kB / 0.5683 GB, free: 38.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1419, allocations: 83.08 MB / 0.6494 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006666/0.1426, allocations: 301.2 kB / 0.6497 GB, free: 3.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000398/0.143, allocations: 174 kB / 0.6499 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.648e-06/0.1431, allocations: 0.6875 kB / 0.6499 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.015e-05/0.1431, allocations: 0 / 0.6499 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-06/0.1431, allocations: 1 kB / 0.6499 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.1435, allocations: 39.89 kB / 0.6499 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.806e-05/0.1435, allocations: 0 / 0.6499 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.1436, allocations: 5.125 kB / 0.6499 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.654e-05/0.1436, allocations: 0 / 0.6499 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.319e-05/0.1436, allocations: 0 / 0.6499 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.304e-06/0.1436, allocations: 0.5625 kB / 0.6499 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.1438, allocations: 65.33 kB / 0.65 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.1438, allocations: 0 / 0.65 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.1439, allocations: 29.7 kB / 0.65 GB, free: 2.992 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.054e-05/0.144, allocations: 23.97 kB / 0.6501 GB, free: 2.969 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.144, allocations: 1.312 kB / 0.6501 GB, free: 2.969 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.144, allocations: 3.938 kB / 0.6501 GB, free: 2.965 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.144, allocations: 0 / 0.6501 GB, free: 2.965 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.0002586/0.1443, allocations: 313.2 kB / 0.6504 GB, free: 2.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1443, allocations: 12.02 kB / 0.6504 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.1443, allocations: 0 / 0.6504 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.33e-05/0.1444, allocations: 163 kB / 0.6505 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1445, allocations: 14.61 kB / 0.6505 GB, free: 2.391 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.1445, allocations: 0 / 0.6505 GB, free: 2.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.452e-05/0.1446, allocations: 25.7 kB / 0.6506 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1446, allocations: 0 / 0.6506 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1446, allocations: 0 / 0.6506 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1446, allocations: 0 / 0.6506 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.958e-05/0.1446, allocations: 4.5 kB / 0.6506 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.1448, allocations: 150.3 kB / 0.6507 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.767e-05/0.1448, allocations: 23.67 kB / 0.6507 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007174/0.1456, allocations: 456.8 kB / 0.6512 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.1456, allocations: 34.56 kB / 0.6512 GB, free: 1.551 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.1456, allocations: 0 / 0.6512 GB, free: 1.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001692/0.1458, allocations: 34.44 kB / 0.6512 GB, free: 1.512 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1458, allocations: 55.94 kB / 0.6513 GB, free: 1.445 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.214e-05/0.1459, allocations: 89.86 kB / 0.6514 GB, free: 1.348 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1459, allocations: 27.2 kB / 0.6514 GB, free: 1.316 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.1459, allocations: 80.14 kB / 0.6515 GB, free: 1.234 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.146, allocations: 3.906 kB / 0.6515 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.146, allocations: 4.594 kB / 0.6515 GB, free: 1.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1462, allocations: 319.6 kB / 0.6518 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.1462, allocations: 0 / 0.6518 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/0.1462, allocations: 4.594 kB / 0.6518 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.1462, allocations: 1.031 kB / 0.6518 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1462, allocations: 4 kB / 0.6518 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.408e-05/0.1463, allocations: 35.38 kB / 0.6518 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1463, allocations: 7.953 kB / 0.6518 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1463, allocations: 0 / 0.6518 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1464, allocations: 0 / 0.6518 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.1464, allocations: 4.719 kB / 0.6518 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1464, allocations: 3.938 kB / 0.6518 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.1465, allocations: 1.25 kB / 0.6518 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1465, allocations: 0 / 0.6518 GB, free: 0.8438 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 8.332e-05/0.1466, allocations: 106.5 kB / 0.6519 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.1466, allocations: 4.719 kB / 0.652 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.1467, allocations: 49.58 kB / 0.652 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.1467, allocations: 3.984 kB / 0.652 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1467, allocations: 0 / 0.652 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1467, allocations: 0.5312 kB / 0.652 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.1468, allocations: 147.7 kB / 0.6521 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1469, allocations: 0 / 0.6521 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.1469, allocations: 4 kB / 0.6522 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1469, allocations: 0 / 0.6522 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1469, allocations: 0 / 0.6522 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1469, allocations: 3.953 kB / 0.6522 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1469, allocations: 0.5 kB / 0.6522 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.529e-05/0.147, allocations: 66.69 kB / 0.6522 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.1471, allocations: 79.2 kB / 0.6523 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.1471, allocations: 0 / 0.6523 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-06/0.1471, allocations: 0 / 0.6523 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.1471, allocations: 3.953 kB / 0.6523 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1471, allocations: 0 / 0.6523 GB, free: 300 kB / 446.1 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.1472, allocations: 75.78 kB / 0.6524 GB, free: 224 kB / 446.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1472, allocations: 5.719 kB / 0.6524 GB, free: 220 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1474, allocations: 8 kB / 0.6524 GB, free: 212 kB / 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.0002721/0.1477, allocations: 125.2 kB / 0.6525 GB, free: 76 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.586e-05/0.1478, allocations: 11.94 kB / 0.6525 GB, free: 64 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1478, allocations: 1 kB / 0.6525 GB, free: 64 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-06/0.1478, allocations: 3.938 kB / 0.6525 GB, free: 60 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.148, allocations: 0.6562 kB / 0.6525 GB, free: 60 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.1483, allocations: 87.27 kB / 0.6526 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1486, allocations: 0.6692 MB / 0.6533 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.807e-05/0.1486, allocations: 4 kB / 0.6533 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.1486, allocations: 7.438 kB / 0.6533 GB, free: 15.24 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1486, allocations: 0 / 0.6533 GB, free: 15.24 MB / 462.1 MB Notification: Performance of Templates: time 0.002508/0.1512, allocations: 403.6 kB / 0.6537 GB, free: 14.85 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: