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.0009596/0.0009595, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005411/0.005411, allocations: 173.9 kB / 16.27 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001642/0.001642, allocations: 282.4 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8797/0.8797, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003806, allocations: 20.36 kB / 0.5988 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1254, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.0005414/0.126, allocations: 305.4 kB / 0.6855 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005388/0.1265, allocations: 320.1 kB / 0.6858 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-06/0.1266, allocations: 0.75 kB / 0.6858 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.062e-05/0.1266, allocations: 0 / 0.6858 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.547e-06/0.1266, allocations: 0.9062 kB / 0.6858 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.1269, allocations: 86.66 kB / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.487e-05/0.1269, allocations: 7.438 kB / 0.6859 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.172e-05/0.127, allocations: 0 / 0.6859 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.041e-05/0.127, allocations: 0 / 0.6859 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.543e-05/0.127, allocations: 0 / 0.6859 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.92e-06/0.127, allocations: 4 kB / 0.6859 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.1272, allocations: 139.7 kB / 0.6861 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-06/0.1273, allocations: 0 / 0.6861 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.1273, allocations: 25.7 kB / 0.6861 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.1274, allocations: 76.36 kB / 0.6862 GB, free: 14.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1274, allocations: 3.984 kB / 0.6862 GB, free: 14.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1274, allocations: 0.625 kB / 0.6862 GB, free: 14.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1274, allocations: 0 / 0.6862 GB, free: 14.03 MB / 494.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.0002164/0.1277, allocations: 325 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.1277, allocations: 8.031 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.555e-05/0.1277, allocations: 32.5 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.795e-05/0.1278, allocations: 4.875 kB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.247e-05/0.1278, allocations: 172.3 kB / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-06/0.1278, allocations: 384 / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.1279, allocations: 8.359 kB / 0.6867 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.48e-05/0.1279, allocations: 27.45 kB / 0.6867 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1279, allocations: 3.938 kB / 0.6867 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-06/0.1279, allocations: 0.5625 kB / 0.6867 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.128, allocations: 4.75 kB / 0.6867 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.351e-05/0.128, allocations: 0 / 0.6867 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.563e-05/0.1281, allocations: 147.5 kB / 0.6869 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.727e-05/0.1281, allocations: 22.55 kB / 0.6869 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.1281, allocations: 8.859 kB / 0.6869 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006545/0.1288, allocations: 472.7 kB / 0.6874 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.1288, allocations: 33.06 kB / 0.6874 GB, free: 12.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1288, allocations: 0 / 0.6874 GB, free: 12.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.488e-05/0.1289, allocations: 41.62 kB / 0.6874 GB, free: 12.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.129, allocations: 55.41 kB / 0.6875 GB, free: 12.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.518e-05/0.129, allocations: 96.58 kB / 0.6876 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.026e-06/0.129, allocations: 25.7 kB / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.764e-05/0.129, allocations: 80.14 kB / 0.6877 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.129, allocations: 288 / 0.6877 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/0.1291, allocations: 9.719 kB / 0.6877 GB, free: 12.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.1291, allocations: 310.8 kB / 0.688 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.141e-06/0.1292, allocations: 0.7812 kB / 0.688 GB, free: 11.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.1292, allocations: 9.719 kB / 0.688 GB, free: 11.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.759e-05/0.1292, allocations: 4.859 kB / 0.688 GB, free: 11.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1292, allocations: 4 kB / 0.688 GB, free: 11.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.447e-05/0.1293, allocations: 34.56 kB / 0.688 GB, free: 11.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.1293, allocations: 4 kB / 0.688 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1293, allocations: 4.5 kB / 0.688 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.1293, allocations: 0.5312 kB / 0.688 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.024e-05/0.1293, allocations: 7.938 kB / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.1293, allocations: 1.062 kB / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-06/0.1293, allocations: 3.938 kB / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.1294, allocations: 1 kB / 0.688 GB, free: 11.8 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.1294, allocations: 110.4 kB / 0.6882 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.1294, allocations: 16.16 kB / 0.6882 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.1295, allocations: 44.75 kB / 0.6882 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1295, allocations: 0 / 0.6882 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1295, allocations: 0 / 0.6882 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.1295, allocations: 0 / 0.6882 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.716e-05/0.1296, allocations: 145.6 kB / 0.6884 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1296, allocations: 0 / 0.6884 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.215e-05/0.1296, allocations: 7.984 kB / 0.6884 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1296, allocations: 0 / 0.6884 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.1296, allocations: 3.938 kB / 0.6884 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1296, allocations: 7.969 kB / 0.6884 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1296, allocations: 0 / 0.6884 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.288e-05/0.1297, allocations: 57.14 kB / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.1297, allocations: 81.09 kB / 0.6885 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.1297, allocations: 3.938 kB / 0.6885 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-06/0.1297, allocations: 0 / 0.6885 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-06/0.1298, allocations: 0 / 0.6885 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.1298, allocations: 0 / 0.6885 GB, free: 11.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.126e-05/0.1298, allocations: 83.31 kB / 0.6886 GB, free: 11.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1298, allocations: 0 / 0.6886 GB, free: 11.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000194/0.13, allocations: 24 kB / 0.6886 GB, free: 11.12 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003761/0.1304, allocations: 0.6319 MB / 0.6892 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.071e-05/0.1304, allocations: 8 kB / 0.6892 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1304, allocations: 0 / 0.6892 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.483e-06/0.1304, allocations: 4 kB / 0.6892 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.1306, allocations: 2.375 kB / 0.6892 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.1308, allocations: 120.3 kB / 0.6894 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.131, allocations: 0.6692 MB / 0.69 GB, free: 9.598 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.286e-06/0.131, allocations: 3.938 kB / 0.69 GB, free: 9.594 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.168e-05/0.131, allocations: 11.42 kB / 0.69 GB, free: 9.582 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.131, allocations: 0 / 0.69 GB, free: 9.582 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5215/0.6525, allocations: 1.236 MB / 0.6912 GB, free: 8.484 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/0.6528, allocations: 220.7 kB / 0.6914 GB, free: 8.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.209, allocations: 0 / 0.6914 GB, free: 8.223 MB / 494.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/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)