Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.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.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008795/0.0008796, allocations: 99.55 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.001037/0.001037, 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 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001691/0.001691, allocations: 263 kB / 291.2 MB, free: 1.875 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.7612/0.7612, allocations: 144.6 MB / 487 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003986, allocations: 13.97 kB / 0.5683 GB, free: 38.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 83.09 MB / 0.6494 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.001639/0.1489, allocations: 1.144 MB / 0.6505 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006667/0.1496, allocations: 329.5 kB / 0.6509 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.1496, allocations: 2.594 kB / 0.6509 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.1496, allocations: 3.938 kB / 0.6509 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.165e-05/0.1497, allocations: 0 / 0.6509 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.1501, allocations: 83.72 kB / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.166e-05/0.1501, allocations: 11.98 kB / 0.651 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.1502, allocations: 5.719 kB / 0.651 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.772e-05/0.1503, allocations: 11.92 kB / 0.651 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.253e-05/0.1503, allocations: 4 kB / 0.651 GB, free: 2.047 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.975e-06/0.1503, allocations: 7.938 kB / 0.651 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.1505, allocations: 132.3 kB / 0.6511 GB, free: 1.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.1506, allocations: 8.594 kB / 0.6511 GB, free: 1.902 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.1506, allocations: 31.58 kB / 0.6511 GB, free: 1.867 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1507, allocations: 55.91 kB / 0.6512 GB, free: 1.812 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1507, allocations: 0 / 0.6512 GB, free: 1.812 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1507, allocations: 3.938 kB / 0.6512 GB, free: 1.809 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.1507, allocations: 0 / 0.6512 GB, free: 1.809 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.0004364/0.1512, allocations: 349.4 kB / 0.6515 GB, free: 1.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1512, allocations: 16.02 kB / 0.6516 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.1513, allocations: 9.016 kB / 0.6516 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1514, allocations: 163.3 kB / 0.6517 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1514, allocations: 3.953 kB / 0.6517 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.1514, allocations: 5.531 kB / 0.6517 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1516, allocations: 54.39 kB / 0.6518 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1517, allocations: 0 / 0.6518 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1517, allocations: 1.156 kB / 0.6518 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1517, allocations: 0 / 0.6518 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.1518, allocations: 45.73 kB / 0.6518 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.1522, allocations: 251 kB / 0.6521 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1523, allocations: 43.91 kB / 0.6521 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008131/0.1531, allocations: 481.7 kB / 0.6526 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.1531, allocations: 30.56 kB / 0.6526 GB, free: 152 kB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1532, allocations: 0 / 0.6526 GB, free: 152 kB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003461/0.1535, allocations: 97.98 kB / 0.6527 GB, free: 52 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.1536, allocations: 55.41 kB / 0.6527 GB, free: 15.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/0.1537, allocations: 98.48 kB / 0.6528 GB, free: 15.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1537, allocations: 25.7 kB / 0.6529 GB, free: 15.85 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.1537, allocations: 89.73 kB / 0.6529 GB, free: 15.76 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.1538, allocations: 3.984 kB / 0.6529 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.1538, allocations: 0 / 0.6529 GB, free: 15.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1539, allocations: 311.5 kB / 0.6532 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.154, allocations: 27.27 kB / 0.6533 GB, free: 15.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.1541, allocations: 19.98 kB / 0.6533 GB, free: 15.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.985e-05/0.1542, allocations: 29.17 kB / 0.6533 GB, free: 15.37 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1542, allocations: 0 / 0.6533 GB, free: 15.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.1544, allocations: 80.86 kB / 0.6534 GB, free: 15.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1544, allocations: 4 kB / 0.6534 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1544, allocations: 4 kB / 0.6534 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1544, allocations: 224 / 0.6534 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.181e-05/0.1545, allocations: 15.98 kB / 0.6534 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1545, allocations: 0 / 0.6534 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.1546, allocations: 11.92 kB / 0.6534 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.1546, allocations: 4 kB / 0.6534 GB, free: 15.25 MB / 462.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.118e-05/0.1547, allocations: 113.8 kB / 0.6535 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.1547, allocations: 0 / 0.6535 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.155, allocations: 80.78 kB / 0.6536 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.155, allocations: 0 / 0.6536 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.155, allocations: 0 / 0.6536 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.155, allocations: 7.938 kB / 0.6536 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.1551, allocations: 157.7 kB / 0.6538 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1551, allocations: 7.984 kB / 0.6538 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.1552, allocations: 15.98 kB / 0.6538 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1552, allocations: 0 / 0.6538 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1552, allocations: 0 / 0.6538 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1552, allocations: 0 / 0.6538 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1552, allocations: 3.938 kB / 0.6538 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.1555, allocations: 175.7 kB / 0.654 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.1555, allocations: 84.97 kB / 0.6541 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1556, allocations: 3.984 kB / 0.6541 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.1557, allocations: 11.98 kB / 0.6541 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.1557, allocations: 0 / 0.6541 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.1557, allocations: 4.031 kB / 0.6541 GB, free: 14.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.1557, allocations: 83.28 kB / 0.6542 GB, free: 14.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1557, allocations: 0 / 0.6542 GB, free: 14.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.156, allocations: 31.98 kB / 0.6542 GB, free: 14.39 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.0002315/0.1562, allocations: 143.2 kB / 0.6543 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.1565, allocations: 43.97 kB / 0.6544 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1565, allocations: 0 / 0.6544 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.1566, allocations: 32.03 kB / 0.6544 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.1568, allocations: 0 / 0.6544 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.157, allocations: 108.6 kB / 0.6545 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1572, allocations: 0.677 MB / 0.6552 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.416e-05/0.1573, allocations: 8.062 kB / 0.6552 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.1573, allocations: 11.38 kB / 0.6552 GB, free: 13.3 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1573, allocations: 0 / 0.6552 GB, free: 13.3 MB / 462.1 MB Notification: Performance of Templates: time 0.002876/0.1602, allocations: 0.831 MB / 0.656 GB, free: 12.47 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1) Environment - environmentSimulation: