Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008435/0.0008435, 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.0009021/0.0009021, 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.194/1.194, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001648/0.001648, allocations: 270.4 kB / 291.3 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.7825/0.7825, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004741, allocations: 18.22 kB / 0.5683 GB, free: 38.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1436, allocations: 83.08 MB / 0.6494 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.0006063/0.1442, allocations: 301.2 kB / 0.6497 GB, free: 3.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003668/0.1446, allocations: 187.1 kB / 0.6499 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.097e-06/0.1446, allocations: 7.938 kB / 0.6499 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.1447, allocations: 0 / 0.6499 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.968e-06/0.1447, allocations: 0 / 0.6499 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.145, allocations: 31.91 kB / 0.6499 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.789e-05/0.145, allocations: 4 kB / 0.6499 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.145, allocations: 0.5312 kB / 0.6499 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.098e-05/0.1451, allocations: 0.5312 kB / 0.65 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.954e-05/0.1451, allocations: 3.984 kB / 0.65 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.1451, allocations: 0.5312 kB / 0.65 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.1453, allocations: 69.12 kB / 0.65 GB, free: 3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-06/0.1453, allocations: 0 / 0.65 GB, free: 3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.1453, allocations: 25.7 kB / 0.65 GB, free: 2.969 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.253e-05/0.1454, allocations: 29.3 kB / 0.6501 GB, free: 2.941 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1454, allocations: 0 / 0.6501 GB, free: 2.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1454, allocations: 0 / 0.6501 GB, free: 2.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.1454, allocations: 0 / 0.6501 GB, free: 2.941 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.0002433/0.1457, allocations: 320.2 kB / 0.6504 GB, free: 2.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1457, allocations: 8.625 kB / 0.6504 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.1457, allocations: 1.5 kB / 0.6504 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.645e-05/0.1458, allocations: 159.1 kB / 0.6505 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1458, allocations: 7.953 kB / 0.6505 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-06/0.1459, allocations: 0 / 0.6505 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.193e-05/0.1459, allocations: 26.36 kB / 0.6506 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.146, allocations: 0.75 kB / 0.6506 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.146, allocations: 0 / 0.6506 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.146, allocations: 1.031 kB / 0.6506 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.146, allocations: 7.938 kB / 0.6506 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.1461, allocations: 151.2 kB / 0.6507 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.1462, allocations: 14.67 kB / 0.6507 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006862/0.1469, allocations: 463.4 kB / 0.6512 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1469, allocations: 35.75 kB / 0.6512 GB, free: 1.527 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 2.013e-06/0.1469, allocations: 4.531 kB / 0.6512 GB, free: 1.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.1471, allocations: 34.17 kB / 0.6513 GB, free: 1.484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.1471, allocations: 56.03 kB / 0.6513 GB, free: 1.418 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.379e-05/0.1471, allocations: 89.86 kB / 0.6514 GB, free: 1.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1471, allocations: 26.42 kB / 0.6514 GB, free: 1.289 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.149e-05/0.1472, allocations: 81.02 kB / 0.6515 GB, free: 1.207 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1472, allocations: 3.906 kB / 0.6515 GB, free: 1.203 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-06/0.1472, allocations: 0.625 kB / 0.6515 GB, free: 1.203 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.1473, allocations: 324.8 kB / 0.6518 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.1473, allocations: 4 kB / 0.6518 GB, free: 0.875 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-06/0.1473, allocations: 3.938 kB / 0.6518 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.288e-05/0.1474, allocations: 0 / 0.6518 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1474, allocations: 0.6875 kB / 0.6518 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.204e-05/0.1474, allocations: 34.52 kB / 0.6518 GB, free: 0.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1474, allocations: 11.95 kB / 0.6519 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1474, allocations: 0 / 0.6519 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.1475, allocations: 0.75 kB / 0.6519 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.399e-05/0.1475, allocations: 0 / 0.6519 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1475, allocations: 6.422 kB / 0.6519 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.141e-05/0.1475, allocations: 8 kB / 0.6519 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.1475, allocations: 0 / 0.6519 GB, free: 0.8086 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.675e-05/0.1476, allocations: 105.8 kB / 0.652 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.1476, allocations: 0 / 0.652 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.027e-05/0.1477, allocations: 42.81 kB / 0.652 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1477, allocations: 0 / 0.652 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1477, allocations: 4 kB / 0.652 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1477, allocations: 3.984 kB / 0.652 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.713e-05/0.1478, allocations: 146.6 kB / 0.6522 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1478, allocations: 0 / 0.6522 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.1478, allocations: 3.938 kB / 0.6522 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1478, allocations: 4.594 kB / 0.6522 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.1478, allocations: 2.656 kB / 0.6522 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1478, allocations: 3.953 kB / 0.6522 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1478, allocations: 0 / 0.6522 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.689e-05/0.1479, allocations: 57.12 kB / 0.6522 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.1479, allocations: 78.98 kB / 0.6523 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.148, allocations: 4 kB / 0.6523 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-06/0.148, allocations: 0 / 0.6523 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-06/0.148, allocations: 3.953 kB / 0.6523 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-06/0.148, allocations: 0 / 0.6523 GB, free: 272 kB / 446.1 MB Notification: Performance of sorting global known variables: time 2.058e-05/0.148, allocations: 77 kB / 0.6524 GB, free: 196 kB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.148, allocations: 0 / 0.6524 GB, free: 196 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.000185/0.1482, allocations: 19.92 kB / 0.6524 GB, free: 176 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.0001786/0.1484, allocations: 120.6 kB / 0.6525 GB, free: 44 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.308e-05/0.1485, allocations: 7.938 kB / 0.6525 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1485, allocations: 3.938 kB / 0.6525 GB, free: 32 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.332e-06/0.1485, allocations: 7.984 kB / 0.6525 GB, free: 24 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.783e-05/0.1486, allocations: 0 / 0.6525 GB, free: 24 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001572/0.1487, allocations: 74.77 kB / 0.6526 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.1489, allocations: 0.6731 MB / 0.6533 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.299e-05/0.149, allocations: 8.109 kB / 0.6533 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.076e-05/0.149, allocations: 7.438 kB / 0.6533 GB, free: 15.21 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.149, allocations: 4 kB / 0.6533 GB, free: 15.2 MB / 462.1 MB Notification: Performance of Templates: time 0.002142/0.1511, allocations: 395.8 kB / 0.6537 GB, free: 14.82 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: