Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009056/0.0009059, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0008721/0.0008721, allocations: 172.7 kB / 15.95 MB, free: 208 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.289/1.289, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00166/0.00166, allocations: 266.9 kB / 291.3 MB, free: 1.945 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.7877/0.7877, allocations: 144.7 MB / 487.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003991, allocations: 12.06 kB / 0.5686 GB, free: 38.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 83.09 MB / 0.6497 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.001308/0.13, allocations: 1.149 MB / 0.6508 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003943/0.1304, allocations: 219.5 kB / 0.651 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.1305, allocations: 0 / 0.651 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.1305, allocations: 3.938 kB / 0.651 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.1305, allocations: 8.484 kB / 0.651 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1308, allocations: 44.45 kB / 0.6511 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.574e-05/0.1309, allocations: 15.94 kB / 0.6511 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.468e-05/0.1309, allocations: 8.891 kB / 0.6511 GB, free: 2.148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.226e-05/0.131, allocations: 5.75 kB / 0.6511 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.023e-05/0.131, allocations: 11.92 kB / 0.6511 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.674e-06/0.131, allocations: 0 / 0.6511 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1312, allocations: 63.88 kB / 0.6512 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.354e-06/0.1312, allocations: 0.75 kB / 0.6512 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.1312, allocations: 37.69 kB / 0.6512 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.717e-05/0.1313, allocations: 25.14 kB / 0.6513 GB, free: 2.004 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1313, allocations: 4 kB / 0.6513 GB, free: 2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1313, allocations: 4 kB / 0.6513 GB, free: 1.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.1313, allocations: 0 / 0.6513 GB, free: 1.996 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.0003436/0.1317, allocations: 338 kB / 0.6516 GB, free: 1.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1317, allocations: 12.03 kB / 0.6516 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.799e-05/0.1317, allocations: 34.5 kB / 0.6516 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.769e-05/0.1318, allocations: 0.7188 kB / 0.6516 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.529e-05/0.1319, allocations: 179.2 kB / 0.6518 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1319, allocations: 9.203 kB / 0.6518 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.1319, allocations: 0 / 0.6518 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1321, allocations: 54.92 kB / 0.6519 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1321, allocations: 0 / 0.6519 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.1321, allocations: 0.5312 kB / 0.6519 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1321, allocations: 0.625 kB / 0.6519 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.1323, allocations: 41.97 kB / 0.6519 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.1325, allocations: 258.2 kB / 0.6521 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.1327, allocations: 44.16 kB / 0.6522 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.811e-05/0.1327, allocations: 22.88 kB / 0.6522 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/0.1333, allocations: 460.2 kB / 0.6527 GB, free: 340 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1333, allocations: 34.56 kB / 0.6527 GB, free: 296 kB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1333, allocations: 0.625 kB / 0.6527 GB, free: 296 kB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000323/0.1337, allocations: 105.5 kB / 0.6528 GB, free: 188 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.1337, allocations: 51.41 kB / 0.6528 GB, free: 124 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.783e-05/0.1338, allocations: 98.92 kB / 0.6529 GB, free: 16 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1338, allocations: 29.64 kB / 0.653 GB, free: 15.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.1338, allocations: 90.53 kB / 0.653 GB, free: 15.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.1339, allocations: 3.906 kB / 0.653 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.1339, allocations: 0 / 0.653 GB, free: 15.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.134, allocations: 318.8 kB / 0.6534 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.134, allocations: 22.11 kB / 0.6534 GB, free: 15.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.1341, allocations: 23.97 kB / 0.6534 GB, free: 15.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.241e-05/0.1342, allocations: 22.42 kB / 0.6534 GB, free: 15.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1342, allocations: 0 / 0.6534 GB, free: 15.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001755/0.1344, allocations: 79.11 kB / 0.6535 GB, free: 15.42 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1344, allocations: 4 kB / 0.6535 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1344, allocations: 3.984 kB / 0.6535 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1344, allocations: 4 kB / 0.6535 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.236e-05/0.1345, allocations: 8 kB / 0.6535 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1345, allocations: 0 / 0.6535 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.1346, allocations: 7.984 kB / 0.6535 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.1346, allocations: 4 kB / 0.6535 GB, free: 15.39 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 5.928e-05/0.1346, allocations: 117.8 kB / 0.6536 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.1347, allocations: 0 / 0.6536 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.1349, allocations: 80.78 kB / 0.6537 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.1349, allocations: 8.016 kB / 0.6537 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1349, allocations: 0 / 0.6537 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1349, allocations: 3.938 kB / 0.6537 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.1351, allocations: 161.6 kB / 0.6539 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1351, allocations: 0 / 0.6539 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.1351, allocations: 11.98 kB / 0.6539 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1351, allocations: 0 / 0.6539 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.1351, allocations: 3.938 kB / 0.6539 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1351, allocations: 0 / 0.6539 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1352, allocations: 4 kB / 0.6539 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.1354, allocations: 171.4 kB / 0.6541 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.1354, allocations: 89.25 kB / 0.6541 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.1354, allocations: 4.031 kB / 0.6541 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.1355, allocations: 7.984 kB / 0.6542 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.1355, allocations: 7.984 kB / 0.6542 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.1355, allocations: 0 / 0.6542 GB, free: 14.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.192e-05/0.1356, allocations: 83.27 kB / 0.6542 GB, free: 14.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1356, allocations: 0 / 0.6542 GB, free: 14.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.1358, allocations: 16 kB / 0.6543 GB, free: 14.54 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.000517/0.1363, allocations: 0.7241 MB / 0.655 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.1365, allocations: 47.89 kB / 0.655 GB, free: 13.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1366, allocations: 8 kB / 0.655 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.1366, allocations: 27.98 kB / 0.655 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.1369, allocations: 1.828 kB / 0.655 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.1372, allocations: 138.4 kB / 0.6552 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.1374, allocations: 0.677 MB / 0.6558 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.154e-05/0.1374, allocations: 4.062 kB / 0.6558 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.1375, allocations: 11.44 kB / 0.6559 GB, free: 12.81 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1375, allocations: 0 / 0.6559 GB, free: 12.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009152/0.1466, allocations: 1.273 MB / 0.6571 GB, free: 11.67 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/0.1468, allocations: 187.3 kB / 0.6573 GB, free: 11.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.714, allocations: 0 / 0.6573 GB, free: 11.43 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: