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.0008575/0.0008575, allocations: 91.84 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.005184/0.005184, allocations: 170 kB / 16.26 MB, free: 6.613 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.228/1.228, allocations: 223.2 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.001669/0.001669, allocations: 271.1 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8763/0.8763, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 17.73 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.126, allocations: 88.53 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.0005461/0.1265, allocations: 309.4 kB / 0.6855 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005152/0.1271, allocations: 305.8 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.895e-06/0.1271, allocations: 0 / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.696e-06/0.1271, allocations: 2 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.838e-06/0.1271, allocations: 0 / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1274, allocations: 79.73 kB / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.307e-05/0.1275, allocations: 0 / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.341e-05/0.1275, allocations: 4 kB / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.062e-05/0.1275, allocations: 2.438 kB / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.522e-05/0.1276, allocations: 0 / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.06e-06/0.1276, allocations: 0 / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.1278, allocations: 135.7 kB / 0.686 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-06/0.1278, allocations: 0 / 0.686 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.1278, allocations: 25.7 kB / 0.6861 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.128, allocations: 68.52 kB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.128, allocations: 1.188 kB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.128, allocations: 3.938 kB / 0.6861 GB, free: 14.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.128, allocations: 3.938 kB / 0.6861 GB, free: 14.06 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.0002132/0.1282, allocations: 330.8 kB / 0.6864 GB, free: 13.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1282, allocations: 12.03 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.692e-05/0.1283, allocations: 30.75 kB / 0.6865 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.494e-05/0.1283, allocations: 1.688 kB / 0.6865 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.724e-05/0.1284, allocations: 160.4 kB / 0.6866 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.1284, allocations: 11.12 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-06/0.1284, allocations: 384 / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.648e-05/0.1285, allocations: 34.27 kB / 0.6867 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-06/0.1285, allocations: 3.938 kB / 0.6867 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-06/0.1285, allocations: 0 / 0.6867 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1285, allocations: 3.984 kB / 0.6867 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.556e-05/0.1285, allocations: 3.938 kB / 0.6867 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.1286, allocations: 151.4 kB / 0.6868 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.671e-05/0.1287, allocations: 14.58 kB / 0.6869 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.1287, allocations: 10.58 kB / 0.6869 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005858/0.1293, allocations: 459.1 kB / 0.6873 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.1293, allocations: 31.97 kB / 0.6873 GB, free: 12.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.1293, allocations: 0 / 0.6873 GB, free: 12.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.826e-05/0.1294, allocations: 41.58 kB / 0.6874 GB, free: 12.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.1294, allocations: 56.06 kB / 0.6874 GB, free: 12.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.51e-05/0.1295, allocations: 90.48 kB / 0.6875 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.1295, allocations: 25.83 kB / 0.6875 GB, free: 12.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.123e-05/0.1295, allocations: 84.14 kB / 0.6876 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.1295, allocations: 288 / 0.6876 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/0.1295, allocations: 9.719 kB / 0.6876 GB, free: 12.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.1296, allocations: 314.8 kB / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-06/0.1296, allocations: 4 kB / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-06/0.1297, allocations: 0 / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.82e-05/0.1297, allocations: 8.859 kB / 0.6879 GB, free: 11.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1297, allocations: 4.062 kB / 0.6879 GB, free: 11.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.211e-05/0.1297, allocations: 37.64 kB / 0.688 GB, free: 11.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.1297, allocations: 4 kB / 0.688 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1298, allocations: 3.938 kB / 0.688 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.1298, allocations: 0 / 0.688 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.135e-05/0.1298, allocations: 7.984 kB / 0.688 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1298, allocations: 3.984 kB / 0.688 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.378e-06/0.1298, allocations: 3.938 kB / 0.688 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.1298, allocations: 0 / 0.688 GB, free: 11.83 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 4.653e-05/0.1299, allocations: 110.5 kB / 0.6881 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-06/0.1299, allocations: 4 kB / 0.6881 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.13, allocations: 44.67 kB / 0.6882 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.13, allocations: 11.81 kB / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.13, allocations: 3.984 kB / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.13, allocations: 0 / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.767e-05/0.1301, allocations: 145.7 kB / 0.6883 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1301, allocations: 0 / 0.6883 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.106e-05/0.1301, allocations: 4 kB / 0.6883 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.1301, allocations: 0 / 0.6883 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.1301, allocations: 7.969 kB / 0.6883 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1301, allocations: 0 / 0.6883 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1301, allocations: 0 / 0.6883 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.144e-05/0.1302, allocations: 61.12 kB / 0.6884 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.1302, allocations: 77.11 kB / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-06/0.1302, allocations: 3.938 kB / 0.6885 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-06/0.1302, allocations: 0 / 0.6885 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.1302, allocations: 4.031 kB / 0.6885 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.1302, allocations: 0 / 0.6885 GB, free: 11.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.049e-05/0.1303, allocations: 79.28 kB / 0.6885 GB, free: 11.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.264e-06/0.1303, allocations: 0 / 0.6885 GB, free: 11.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000201/0.1305, allocations: 31.92 kB / 0.6886 GB, free: 11.15 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.0003668/0.1308, allocations: 0.6301 MB / 0.6892 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.053e-05/0.1309, allocations: 8 kB / 0.6892 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1309, allocations: 0 / 0.6892 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.665e-06/0.1309, allocations: 8 kB / 0.6892 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.131, allocations: 8 kB / 0.6892 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.1313, allocations: 116.3 kB / 0.6893 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.1314, allocations: 0.6692 MB / 0.69 GB, free: 9.617 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.165e-06/0.1314, allocations: 0 / 0.69 GB, free: 9.617 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.015e-05/0.1315, allocations: 7.438 kB / 0.69 GB, free: 9.609 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1315, allocations: 4 kB / 0.69 GB, free: 9.605 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4177/0.5492, allocations: 1.201 MB / 0.6912 GB, free: 8.543 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/0.5495, allocations: 223.1 kB / 0.6914 GB, free: 8.281 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.044, allocations: 0 / 0.6914 GB, free: 8.281 MB / 494.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/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)