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.001096/0.001096, 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.001361/0.001361, 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.181/1.181, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001603/0.001603, allocations: 261.9 kB / 291.2 MB, free: 1.91 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.7104/0.7104, allocations: 144.6 MB / 487 MB, free: 7.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 15 kB / 0.5684 GB, free: 38.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1146, allocations: 83.09 MB / 0.6495 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.0005457/0.1152, allocations: 299.7 kB / 0.6498 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004296/0.1156, allocations: 265.5 kB / 0.6501 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-06/0.1157, allocations: 7.406 kB / 0.6501 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.899e-06/0.1157, allocations: 0 / 0.6501 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.748e-06/0.1157, allocations: 0 / 0.6501 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.116, allocations: 67.8 kB / 0.6502 GB, free: 2.961 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.368e-05/0.116, allocations: 0 / 0.6502 GB, free: 2.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.92e-05/0.116, allocations: 0 / 0.6502 GB, free: 2.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.868e-06/0.1161, allocations: 0 / 0.6502 GB, free: 2.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.1161, allocations: 7.984 kB / 0.6502 GB, free: 2.953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.48e-06/0.1161, allocations: 0 / 0.6502 GB, free: 2.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.1163, allocations: 124.4 kB / 0.6503 GB, free: 2.832 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.777e-06/0.1163, allocations: 0.6562 kB / 0.6503 GB, free: 2.832 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.1163, allocations: 26.27 kB / 0.6503 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.403e-05/0.1164, allocations: 43.92 kB / 0.6503 GB, free: 2.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.1164, allocations: 4.469 kB / 0.6503 GB, free: 2.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1164, allocations: 6.438 kB / 0.6504 GB, free: 2.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.665e-06/0.1164, allocations: 0 / 0.6504 GB, free: 2.75 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.0002132/0.1167, allocations: 323.4 kB / 0.6507 GB, free: 2.387 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.1167, allocations: 12.03 kB / 0.6507 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.647e-05/0.1167, allocations: 30.56 kB / 0.6507 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.672e-05/0.1168, allocations: 0 / 0.6507 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.326e-05/0.1168, allocations: 163.8 kB / 0.6509 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.1168, allocations: 7.891 kB / 0.6509 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-06/0.1169, allocations: 4.672 kB / 0.6509 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.402e-05/0.1169, allocations: 34.55 kB / 0.6509 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-06/0.1169, allocations: 0 / 0.6509 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-06/0.1169, allocations: 0.8438 kB / 0.6509 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.117, allocations: 0 / 0.6509 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.273e-05/0.117, allocations: 0.6562 kB / 0.6509 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.82e-05/0.1171, allocations: 146.4 kB / 0.651 GB, free: 1.895 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.977e-05/0.1171, allocations: 23.72 kB / 0.6511 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/0.1177, allocations: 463.2 kB / 0.6515 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.1177, allocations: 32.12 kB / 0.6515 GB, free: 1.281 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1177, allocations: 0 / 0.6515 GB, free: 1.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 9.155e-05/0.1178, allocations: 34.19 kB / 0.6516 GB, free: 1.242 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.1179, allocations: 55.94 kB / 0.6516 GB, free: 1.176 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.092e-05/0.1179, allocations: 90.55 kB / 0.6517 GB, free: 1.078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.1179, allocations: 25.7 kB / 0.6517 GB, free: 1.047 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.97e-05/0.1179, allocations: 88.95 kB / 0.6518 GB, free: 0.957 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.118, allocations: 3.906 kB / 0.6518 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-06/0.118, allocations: 2.562 kB / 0.6518 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.137e-05/0.1181, allocations: 310.8 kB / 0.6521 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-06/0.1181, allocations: 0 / 0.6521 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-06/0.1181, allocations: 0 / 0.6521 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.449e-05/0.1181, allocations: 4.625 kB / 0.6521 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1181, allocations: 0 / 0.6521 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.195e-05/0.1182, allocations: 38.38 kB / 0.6522 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1182, allocations: 8.516 kB / 0.6522 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1182, allocations: 3.938 kB / 0.6522 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/0.1182, allocations: 5.219 kB / 0.6522 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.851e-05/0.1182, allocations: 0 / 0.6522 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.1182, allocations: 0 / 0.6522 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-06/0.1182, allocations: 1.281 kB / 0.6522 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1183, allocations: 3.984 kB / 0.6522 GB, free: 0.5742 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 4.906e-05/0.1183, allocations: 114.3 kB / 0.6523 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-06/0.1183, allocations: 0.9062 kB / 0.6523 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.362e-05/0.1184, allocations: 44.75 kB / 0.6523 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1184, allocations: 1.406 kB / 0.6523 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1184, allocations: 0 / 0.6523 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.1184, allocations: 0 / 0.6523 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.695e-05/0.1185, allocations: 153.7 kB / 0.6525 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1185, allocations: 0.6562 kB / 0.6525 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.1185, allocations: 3.984 kB / 0.6525 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1185, allocations: 1.531 kB / 0.6525 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.1185, allocations: 3.938 kB / 0.6525 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1185, allocations: 3.953 kB / 0.6525 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1185, allocations: 4 kB / 0.6525 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.099e-05/0.1186, allocations: 56.2 kB / 0.6526 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.1186, allocations: 81.11 kB / 0.6526 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.1186, allocations: 3.984 kB / 0.6526 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.181e-06/0.1186, allocations: 0 / 0.6526 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.1187, allocations: 8.734 kB / 0.6526 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.1187, allocations: 0 / 0.6526 GB, free: 12 kB / 446.1 MB Notification: Performance of sorting global known variables: time 3.402e-05/0.1187, allocations: 76.97 kB / 0.6527 GB, free: 15.94 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1187, allocations: 0 / 0.6527 GB, free: 15.94 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001875/0.1189, allocations: 24 kB / 0.6527 GB, free: 15.91 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.0003782/0.1193, allocations: 0.6294 MB / 0.6534 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 3.939e-05/0.1193, allocations: 4 kB / 0.6534 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1193, allocations: 0 / 0.6534 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.222e-06/0.1194, allocations: 8.062 kB / 0.6534 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.91e-05/0.1194, allocations: 3.953 kB / 0.6534 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.1197, allocations: 120.3 kB / 0.6535 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.1199, allocations: 0.6773 MB / 0.6542 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.478e-06/0.1199, allocations: 3.984 kB / 0.6542 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.048e-05/0.1199, allocations: 7.438 kB / 0.6542 GB, free: 14.36 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1199, allocations: 0 / 0.6542 GB, free: 14.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.545/2.665, allocations: 1.201 MB / 0.6553 GB, free: 13.31 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/2.665, allocations: 189.9 kB / 0.6555 GB, free: 13.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/4.857, allocations: 7.75 kB / 0.6555 GB, free: 13.07 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: