Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",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.0009131/0.0009131, 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.0008729/0.000873, allocations: 177.3 kB / 15.95 MB, free: 216 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.154/1.154, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001589/0.001589, allocations: 262.8 kB / 291.2 MB, free: 2.016 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.7147/0.7147, allocations: 144.6 MB / 487 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005708/0.0005708, allocations: 14.59 kB / 0.5684 GB, free: 38.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1163, allocations: 83.09 MB / 0.6495 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.0005436/0.1169, allocations: 307.7 kB / 0.6498 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004468/0.1173, allocations: 276.6 kB / 0.6501 GB, free: 2.957 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-06/0.1173, allocations: 0.8125 kB / 0.6501 GB, free: 2.957 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.434e-06/0.1174, allocations: 0 / 0.6501 GB, free: 2.957 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.436e-06/0.1174, allocations: 0.5 kB / 0.6501 GB, free: 2.957 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1177, allocations: 72.36 kB / 0.6502 GB, free: 2.887 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.265e-05/0.1177, allocations: 0.5625 kB / 0.6502 GB, free: 2.887 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.1177, allocations: 7.984 kB / 0.6502 GB, free: 2.879 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.111e-05/0.1177, allocations: 0.5312 kB / 0.6502 GB, free: 2.879 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.587e-05/0.1178, allocations: 10.28 kB / 0.6502 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.819e-06/0.1178, allocations: 0 / 0.6502 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.118, allocations: 135.7 kB / 0.6503 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-06/0.118, allocations: 0 / 0.6503 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.118, allocations: 25.7 kB / 0.6503 GB, free: 2.707 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.476e-05/0.1181, allocations: 48.66 kB / 0.6504 GB, free: 2.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.1181, allocations: 0 / 0.6504 GB, free: 2.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1181, allocations: 4 kB / 0.6504 GB, free: 2.656 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.1181, allocations: 0.5938 kB / 0.6504 GB, free: 2.656 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.0002075/0.1184, allocations: 316.7 kB / 0.6507 GB, free: 2.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1184, allocations: 12.03 kB / 0.6507 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/0.1184, allocations: 39.2 kB / 0.6507 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.373e-05/0.1184, allocations: 0 / 0.6507 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.661e-05/0.1185, allocations: 159.8 kB / 0.6509 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.1185, allocations: 3.953 kB / 0.6509 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-06/0.1185, allocations: 5.172 kB / 0.6509 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.056e-05/0.1186, allocations: 29.7 kB / 0.6509 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-06/0.1186, allocations: 1.438 kB / 0.6509 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-06/0.1186, allocations: 0 / 0.6509 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.1186, allocations: 0 / 0.6509 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.373e-05/0.1187, allocations: 3.938 kB / 0.6509 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.1188, allocations: 150.3 kB / 0.6511 GB, free: 1.805 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.818e-05/0.1188, allocations: 23.78 kB / 0.6511 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006511/0.1194, allocations: 470.4 kB / 0.6516 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.1195, allocations: 34.56 kB / 0.6516 GB, free: 1.184 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1195, allocations: 0 / 0.6516 GB, free: 1.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 9.04e-05/0.1196, allocations: 41.62 kB / 0.6516 GB, free: 1.137 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.1196, allocations: 52.03 kB / 0.6517 GB, free: 1.074 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.643e-05/0.1196, allocations: 90.73 kB / 0.6518 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.1197, allocations: 25.7 kB / 0.6518 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.1197, allocations: 80.86 kB / 0.6519 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.1197, allocations: 7.844 kB / 0.6519 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.1197, allocations: 0.9062 kB / 0.6519 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.1198, allocations: 316.4 kB / 0.6522 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-06/0.1198, allocations: 4 kB / 0.6522 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-06/0.1198, allocations: 4 kB / 0.6522 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.158e-05/0.1198, allocations: 2 kB / 0.6522 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1198, allocations: 0 / 0.6522 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.278e-05/0.1199, allocations: 37.62 kB / 0.6522 GB, free: 500 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.1199, allocations: 13.52 kB / 0.6522 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.1199, allocations: 0 / 0.6522 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/0.1199, allocations: 0.6562 kB / 0.6522 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.672e-05/0.12, allocations: 0 / 0.6522 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.12, allocations: 4.938 kB / 0.6522 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-06/0.12, allocations: 0 / 0.6522 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.12, allocations: 3.438 kB / 0.6522 GB, free: 484 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 5.323e-05/0.1201, allocations: 105.8 kB / 0.6523 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-06/0.1201, allocations: 0 / 0.6523 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.1201, allocations: 44.77 kB / 0.6524 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1201, allocations: 0 / 0.6524 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1201, allocations: 4 kB / 0.6524 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1202, allocations: 0 / 0.6524 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.821e-05/0.1202, allocations: 146.3 kB / 0.6525 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.1202, allocations: 0 / 0.6525 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.21e-05/0.1202, allocations: 9.109 kB / 0.6525 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1203, allocations: 4 kB / 0.6525 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-06/0.1203, allocations: 0 / 0.6525 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1203, allocations: 4.547 kB / 0.6525 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1203, allocations: 0 / 0.6525 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.794e-05/0.1203, allocations: 58.45 kB / 0.6526 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.1204, allocations: 77.11 kB / 0.6527 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-06/0.1204, allocations: 7.984 kB / 0.6527 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-06/0.1204, allocations: 0 / 0.6527 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.1204, allocations: 3.953 kB / 0.6527 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.1204, allocations: 0 / 0.6527 GB, free: 15.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.309e-05/0.1204, allocations: 75.28 kB / 0.6528 GB, free: 15.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1204, allocations: 0 / 0.6528 GB, free: 15.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001954/0.1206, allocations: 28 kB / 0.6528 GB, free: 15.82 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.0003832/0.121, allocations: 0.6421 MB / 0.6534 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 4.1e-05/0.1211, allocations: 4 kB / 0.6534 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1211, allocations: 0 / 0.6534 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.372e-06/0.1211, allocations: 7.938 kB / 0.6534 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.874e-05/0.1212, allocations: 3.953 kB / 0.6534 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.1214, allocations: 116.3 kB / 0.6535 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.1216, allocations: 0.6773 MB / 0.6542 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.416e-06/0.1216, allocations: 128 / 0.6542 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-06/0.1216, allocations: 11.44 kB / 0.6542 GB, free: 14.26 MB / 462.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1216, allocations: 0 / 0.6542 GB, free: 14.26 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.545/2.667, allocations: 1.224 MB / 0.6554 GB, free: 13.18 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/2.667, allocations: 191.8 kB / 0.6556 GB, free: 12.94 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/4.675, allocations: 1.688 kB / 0.6556 GB, free: 12.94 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) Environment - environmentSimulation: