Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.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.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0",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.0007341/0.000734, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008006/0.0008006, allocations: 168.7 kB / 15.95 MB, free: 204 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.263/1.263, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001657/0.001657, allocations: 274.6 kB / 291.3 MB, free: 1.969 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.7707/0.7707, allocations: 144.7 MB / 487.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003847, allocations: 24.33 kB / 0.5686 GB, free: 38.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.132, allocations: 83.09 MB / 0.6497 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.0006561/0.1327, allocations: 304.4 kB / 0.65 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005005/0.1332, allocations: 258.9 kB / 0.6503 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-06/0.1333, allocations: 0 / 0.6503 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.005e-06/0.1333, allocations: 1.719 kB / 0.6503 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.1333, allocations: 4 kB / 0.6503 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.1336, allocations: 75.86 kB / 0.6503 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.922e-05/0.1337, allocations: 0 / 0.6503 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.215e-05/0.1337, allocations: 1 kB / 0.6503 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.121e-05/0.1337, allocations: 0 / 0.6503 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.152e-05/0.1338, allocations: 0 / 0.6503 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.22e-06/0.1338, allocations: 6 kB / 0.6504 GB, free: 2.812 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.134, allocations: 131.7 kB / 0.6505 GB, free: 2.684 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.879e-06/0.134, allocations: 4 kB / 0.6505 GB, free: 2.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.134, allocations: 25.7 kB / 0.6505 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.919e-05/0.1341, allocations: 46.2 kB / 0.6506 GB, free: 2.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1341, allocations: 0 / 0.6506 GB, free: 2.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1341, allocations: 0 / 0.6506 GB, free: 2.605 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.1341, allocations: 0 / 0.6506 GB, free: 2.605 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.000218/0.1344, allocations: 323.4 kB / 0.6509 GB, free: 2.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.1344, allocations: 8.031 kB / 0.6509 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.1344, allocations: 31.28 kB / 0.6509 GB, free: 2.195 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.674e-05/0.1345, allocations: 7.922 kB / 0.6509 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.142e-05/0.1345, allocations: 164.3 kB / 0.6511 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1346, allocations: 3.953 kB / 0.6511 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-06/0.1346, allocations: 0 / 0.6511 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.864e-05/0.1346, allocations: 30.36 kB / 0.6511 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1347, allocations: 0.5312 kB / 0.6511 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-06/0.1347, allocations: 0.5938 kB / 0.6511 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1347, allocations: 4 kB / 0.6511 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.765e-05/0.1347, allocations: 4.469 kB / 0.6511 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.1348, allocations: 146.3 kB / 0.6512 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.365e-05/0.1349, allocations: 23.81 kB / 0.6513 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.328e-05/0.1349, allocations: 10.27 kB / 0.6513 GB, free: 1.707 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006805/0.1356, allocations: 454.9 kB / 0.6517 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1356, allocations: 36.05 kB / 0.6517 GB, free: 1.129 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1356, allocations: 0 / 0.6517 GB, free: 1.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001208/0.1357, allocations: 38.3 kB / 0.6518 GB, free: 1.086 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.1358, allocations: 52.16 kB / 0.6518 GB, free: 1.023 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.338e-05/0.1358, allocations: 89.86 kB / 0.6519 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1358, allocations: 26.73 kB / 0.6519 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.127e-05/0.1358, allocations: 80.14 kB / 0.652 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.1359, allocations: 9.438 kB / 0.652 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-06/0.1359, allocations: 0 / 0.652 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.136, allocations: 310.8 kB / 0.6523 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.136, allocations: 0.7188 kB / 0.6523 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-06/0.136, allocations: 3.984 kB / 0.6523 GB, free: 500 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.73e-05/0.136, allocations: 4.875 kB / 0.6523 GB, free: 496 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.136, allocations: 3.938 kB / 0.6523 GB, free: 492 kB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.705e-05/0.1361, allocations: 44 kB / 0.6524 GB, free: 444 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.1361, allocations: 4 kB / 0.6524 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1361, allocations: 0 / 0.6524 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.1361, allocations: 0 / 0.6524 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.437e-05/0.1362, allocations: 4 kB / 0.6524 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1362, allocations: 0.5938 kB / 0.6524 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.185e-06/0.1362, allocations: 0 / 0.6524 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.1362, allocations: 1.969 kB / 0.6524 GB, free: 436 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 (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 6.245e-05/0.1363, allocations: 113.8 kB / 0.6525 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-06/0.1363, allocations: 3.953 kB / 0.6525 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.1364, allocations: 41.45 kB / 0.6525 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1364, allocations: 0 / 0.6525 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1364, allocations: 0.875 kB / 0.6525 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1364, allocations: 0 / 0.6525 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.397e-05/0.1365, allocations: 146.4 kB / 0.6527 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1365, allocations: 3.938 kB / 0.6527 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.1365, allocations: 5.719 kB / 0.6527 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1365, allocations: 0 / 0.6527 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1365, allocations: 3.953 kB / 0.6527 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1365, allocations: 0 / 0.6527 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1365, allocations: 0 / 0.6527 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.516e-05/0.1366, allocations: 63.16 kB / 0.6528 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.1366, allocations: 77.11 kB / 0.6528 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.1366, allocations: 4.906 kB / 0.6528 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.1366, allocations: 3.953 kB / 0.6528 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.1367, allocations: 4.578 kB / 0.6528 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1367, allocations: 4 kB / 0.6528 GB, free: 15.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.247e-05/0.1367, allocations: 77.88 kB / 0.6529 GB, free: 15.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1367, allocations: 3.938 kB / 0.6529 GB, free: 15.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002068/0.1369, allocations: 27.98 kB / 0.653 GB, free: 15.76 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 (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.0004153/0.1373, allocations: 0.6237 MB / 0.6536 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 5.668e-05/0.1374, allocations: 8.312 kB / 0.6536 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1374, allocations: 0 / 0.6536 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.033e-05/0.1374, allocations: 15.86 kB / 0.6536 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1376, allocations: 5.5 kB / 0.6536 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.1378, allocations: 112.4 kB / 0.6537 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.138, allocations: 0.6731 MB / 0.6544 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.063e-05/0.138, allocations: 0 / 0.6544 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.426e-05/0.1381, allocations: 7.438 kB / 0.6544 GB, free: 14.22 MB / 462.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1381, allocations: 4.125 kB / 0.6544 GB, free: 14.22 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009787/0.1479, allocations: 1.215 MB / 0.6556 GB, free: 13.15 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/0.148, allocations: 205.3 kB / 0.6557 GB, free: 12.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.755, allocations: 0 / 0.6557 GB, free: 12.91 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) Environment - environmentSimulation: