Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.0007517/0.0007517, allocations: 91.77 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.000814/0.0008141, 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.276/1.276, allocations: 223.3 MB / 240 MB, free: 5.434 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.2 kB / 291.3 MB, free: 1.992 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.774/0.774, allocations: 144.7 MB / 487.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004194, allocations: 11.88 kB / 0.5686 GB, free: 38.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1258, allocations: 83.09 MB / 0.6497 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.001427/0.1273, allocations: 1.138 MB / 0.6508 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005777/0.1279, allocations: 330.7 kB / 0.6511 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.1279, allocations: 0 / 0.6511 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.128, allocations: 0 / 0.6511 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.103e-05/0.128, allocations: 0 / 0.6511 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.1284, allocations: 83.78 kB / 0.6512 GB, free: 1.902 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.1285, allocations: 19.92 kB / 0.6512 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.238e-05/0.1285, allocations: 0.6875 kB / 0.6512 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.027e-05/0.1286, allocations: 16.47 kB / 0.6513 GB, free: 1.867 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.144e-05/0.1286, allocations: 8.5 kB / 0.6513 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.1286, allocations: 0 / 0.6513 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.1289, allocations: 140.7 kB / 0.6514 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-06/0.1289, allocations: 6.344 kB / 0.6514 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.1289, allocations: 33.7 kB / 0.6514 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.1291, allocations: 55.89 kB / 0.6515 GB, free: 1.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1291, allocations: 0 / 0.6515 GB, free: 1.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1291, allocations: 0 / 0.6515 GB, free: 1.625 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.1291, allocations: 0 / 0.6515 GB, free: 1.625 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.0003665/0.1295, allocations: 356.7 kB / 0.6518 GB, free: 1.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1295, allocations: 8.562 kB / 0.6518 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.1295, allocations: 35.66 kB / 0.6519 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.838e-05/0.1296, allocations: 0 / 0.6519 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.998e-05/0.1297, allocations: 171.3 kB / 0.652 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1297, allocations: 4.609 kB / 0.652 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.1297, allocations: 0 / 0.652 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1299, allocations: 55.67 kB / 0.6521 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.1299, allocations: 0 / 0.6521 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.1299, allocations: 0 / 0.6521 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-06/0.1299, allocations: 5.312 kB / 0.6521 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.1301, allocations: 41.38 kB / 0.6521 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.1303, allocations: 254.3 kB / 0.6524 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1305, allocations: 41.72 kB / 0.6524 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.1305, allocations: 28.91 kB / 0.6524 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006643/0.1312, allocations: 478.1 kB / 0.6529 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.1313, allocations: 30.56 kB / 0.6529 GB, free: 15.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1313, allocations: 0 / 0.6529 GB, free: 15.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003201/0.1316, allocations: 101.3 kB / 0.653 GB, free: 15.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.1316, allocations: 56.5 kB / 0.6531 GB, free: 15.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.399e-05/0.1317, allocations: 101.8 kB / 0.6532 GB, free: 15.62 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.1317, allocations: 25.7 kB / 0.6532 GB, free: 15.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.1318, allocations: 91.53 kB / 0.6533 GB, free: 15.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.1318, allocations: 3.906 kB / 0.6533 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/0.1318, allocations: 0 / 0.6533 GB, free: 15.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.1319, allocations: 322.7 kB / 0.6536 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.1319, allocations: 19.98 kB / 0.6536 GB, free: 15.15 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.132, allocations: 21.8 kB / 0.6536 GB, free: 15.13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.228e-05/0.1321, allocations: 28.16 kB / 0.6537 GB, free: 15.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1321, allocations: 0 / 0.6537 GB, free: 15.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001772/0.1323, allocations: 73.61 kB / 0.6537 GB, free: 15.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1323, allocations: 12.03 kB / 0.6538 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1323, allocations: 0 / 0.6538 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1323, allocations: 3.984 kB / 0.6538 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.1324, allocations: 12 kB / 0.6538 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1324, allocations: 0 / 0.6538 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.1325, allocations: 15.92 kB / 0.6538 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.1325, allocations: 0 / 0.6538 GB, free: 14.98 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 6.302e-05/0.1326, allocations: 117.8 kB / 0.6539 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.1326, allocations: 4 kB / 0.6539 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.1328, allocations: 72.78 kB / 0.654 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1328, allocations: 4 kB / 0.654 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1328, allocations: 7.922 kB / 0.654 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1328, allocations: 4.031 kB / 0.654 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.133, allocations: 157.6 kB / 0.6541 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.133, allocations: 0 / 0.6541 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.133, allocations: 11.98 kB / 0.6541 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1331, allocations: 0 / 0.6541 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.1331, allocations: 0 / 0.6541 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1331, allocations: 0 / 0.6541 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1331, allocations: 4 kB / 0.6541 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.1333, allocations: 175.4 kB / 0.6543 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.1333, allocations: 81.06 kB / 0.6544 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.1334, allocations: 0 / 0.6544 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.1334, allocations: 16.02 kB / 0.6544 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.1335, allocations: 0 / 0.6544 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1335, allocations: 0 / 0.6544 GB, free: 14.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.226e-05/0.1335, allocations: 83.28 kB / 0.6545 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.403e-06/0.1335, allocations: 0 / 0.6545 GB, free: 14.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1338, allocations: 35.92 kB / 0.6545 GB, free: 14.13 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.0005723/0.1343, allocations: 0.7475 MB / 0.6553 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.1345, allocations: 47.95 kB / 0.6553 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1346, allocations: 4.062 kB / 0.6553 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.874e-05/0.1346, allocations: 27.92 kB / 0.6553 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.1349, allocations: 0 / 0.6553 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.1352, allocations: 142.4 kB / 0.6555 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.1354, allocations: 0.6771 MB / 0.6561 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.015e-05/0.1354, allocations: 4 kB / 0.6561 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.1355, allocations: 11.44 kB / 0.6561 GB, free: 12.38 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1355, allocations: 0 / 0.6561 GB, free: 12.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01015/0.1456, allocations: 1.545 MB / 0.6576 GB, free: 10.96 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.1458, allocations: 186.8 kB / 0.6578 GB, free: 10.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.751, allocations: 0 / 0.6578 GB, free: 10.72 MB / 462.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1) Environment - environmentSimulation: